diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-08 21:38:01 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-08 21:38:01 -0500 |
| commit | 3a80685189967fbf4cfa002ac2b8a4fa421306ca (patch) | |
| tree | 01d38125329508f5628f9221f797e303180c8fc3 /src/filetreemodel.h | |
| parent | d0c16e60d734fe2f72c387552559bf125554fb2d (diff) | |
don't sort items when they're not expanded
Diffstat (limited to 'src/filetreemodel.h')
| -rw-r--r-- | src/filetreemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filetreemodel.h b/src/filetreemodel.h index fbc7ec44..093407b0 100644 --- a/src/filetreemodel.h +++ b/src/filetreemodel.h @@ -76,7 +76,7 @@ public: void sort(int column, Qt::SortOrder order=Qt::AscendingOrder) override; FileTreeItem* itemFromIndex(const QModelIndex& index) const; - void sortItem(FileTreeItem& item); + void sortItem(FileTreeItem& item, bool force); private: class Range; |
