diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-20 19:02:14 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-20 19:02:14 -0400 |
| commit | 0c7265be4f897834fc6126068c1423b6d2defdaf (patch) | |
| tree | ec47317c05edb84dc1dbe19ede389d4f9253b687 /src/datatab.cpp | |
| parent | 6c4e237d4b43db5c3f9dc01f8c0d3313f3bd2605 (diff) | |
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
Diffstat (limited to 'src/datatab.cpp')
| -rw-r--r-- | src/datatab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datatab.cpp b/src/datatab.cpp index af7eb18f..21c205e5 100644 --- a/src/datatab.cpp +++ b/src/datatab.cpp @@ -118,9 +118,9 @@ void DataTab::updateTree() void DataTab::ensureFullyLoaded() { if (!m_filetree->fullyLoaded()) { - m_filter.proxyModel()->setRecursiveFilteringEnabled(false); + m_filter.setFilteringEnabled(false); m_filetree->ensureFullyLoaded(); - m_filter.proxyModel()->setRecursiveFilteringEnabled(true); + m_filter.setFilteringEnabled(true); } } |
