From 6c4e237d4b43db5c3f9dc01f8c0d3313f3bd2605 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sun, 19 Jul 2020 16:48:31 -0400 Subject: fixed crash because items were sorted while being expanded when expanding all or updating the tree, only sort once at the end cache file types --- src/filetree.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/filetree.h') diff --git a/src/filetree.h b/src/filetree.h index 2669e53b..8d71abb3 100644 --- a/src/filetree.h +++ b/src/filetree.h @@ -25,6 +25,9 @@ public: bool fullyLoaded() const; void ensureFullyLoaded(); + void expandAll(); + void collapseAll(); + void open(FileTreeItem* item=nullptr); void openHooked(FileTreeItem* item=nullptr); void preview(FileTreeItem* item=nullptr); -- cgit v1.3.1