From 0c7265be4f897834fc6126068c1423b6d2defdaf Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 20 Jul 2020 19:02:14 -0400 Subject: only sort once at the end when fully loading for search temporarily disable filtering completely when fully loading instead of just disabling recursive filtering, this could close already expanded nodes if their parent directories didn't match --- src/filetreemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filetreemodel.h') diff --git a/src/filetreemodel.h b/src/filetreemodel.h index 4894e4be..73a18d91 100644 --- a/src/filetreemodel.h +++ b/src/filetreemodel.h @@ -119,7 +119,7 @@ private: FileTreeItem& parentItem, const MOShared::DirectoryEntry& parentEntry, const std::wstring& parentPath, bool forFetching); - void doFetchMore(const QModelIndex& parent, bool forFetch); + void doFetchMore(const QModelIndex& parent, bool forFetch, bool doSort); void queueRemoveItem(FileTreeItem* item); void removeItems(); -- cgit v1.3.1