diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-01-20 15:24:04 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:33:20 -0500 |
| commit | 8e3a360cd427f0f653846a0afc627a39cbf16276 (patch) | |
| tree | 7a8d9851c1dcb7680f5e56c20104654afe03d3f8 /src/datatab.cpp | |
| parent | bb9a4600bb3e83ad35a061db228c81cf8e108407 (diff) | |
implemented fetchMore() and update for subdirectories
don't refresh tree on active, it's taken care of by fetchMore()
Diffstat (limited to 'src/datatab.cpp')
| -rw-r--r-- | src/datatab.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/datatab.cpp b/src/datatab.cpp index 95c4eca3..1b7baa82 100644 --- a/src/datatab.cpp +++ b/src/datatab.cpp @@ -63,11 +63,15 @@ void DataTab::restoreState(const Settings& s) void DataTab::activated() { - refreshDataTreeKeepExpandedNodes(); + //refreshDataTreeKeepExpandedNodes(); } void DataTab::onRefresh() { + if (QGuiApplication::keyboardModifiers() & Qt::ShiftModifier) { + m_filetree->clear(); + } + m_core.refreshDirectoryStructure(); } |
