summaryrefslogtreecommitdiff
path: root/src/filetreeitem.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-07 13:39:35 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-07 13:39:35 -0500
commit2b0a720863a26faebdc240f4db29dd39c7a035b6 (patch)
treef920b0b442b790f2e6bc7d97d6574abfe5d2c5c6 /src/filetreeitem.cpp
parent1c8c1bb89b6d2103e146a54ae9f0dfdd50f7b835 (diff)
fixed sorting not emitting layout events and fixing persistent indexes
Diffstat (limited to 'src/filetreeitem.cpp')
-rw-r--r--src/filetreeitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filetreeitem.cpp b/src/filetreeitem.cpp
index 8602ea6d..9eff9564 100644
--- a/src/filetreeitem.cpp
+++ b/src/filetreeitem.cpp
@@ -178,7 +178,7 @@ public:
void FileTreeItem::sort()
{
- sort(m_model->sortInfo().column, m_model->sortInfo().order);
+ m_model->sortItem(*this);
}
void FileTreeItem::sort(int column, Qt::SortOrder order)