diff options
author | saturneric <[email protected]> | 2025-01-26 19:51:16 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-26 19:51:16 +0000 |
commit | bd0bfe63e715439f9de6562d7abc862b9ae6a9fc (patch) | |
tree | fc15f306b73790c4a650f0a641a3d3c69417ebed | |
parent | feat: users can choose which crypto tool bar buttons are displayed (diff) | |
download | GpgFrontend-bd0bfe63e715439f9de6562d7abc862b9ae6a9fc.tar.gz GpgFrontend-bd0bfe63e715439f9de6562d7abc862b9ae6a9fc.zip |
feat: allow changing sort options by ui at file page
-rw-r--r-- | src/ui/widgets/FileTreeView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widgets/FileTreeView.cpp b/src/ui/widgets/FileTreeView.cpp index 616cffb4..20078e7c 100644 --- a/src/ui/widgets/FileTreeView.cpp +++ b/src/ui/widgets/FileTreeView.cpp @@ -45,6 +45,7 @@ FileTreeView::FileTreeView(QWidget* parent, const QString& target_path) this->setModel(dir_model_); this->setColumnWidth(0, 320); this->sortByColumn(0, Qt::AscendingOrder); + this->setSortingEnabled(true); current_path_ = dir_model_->rootPath(); slot_create_popup_menu(); |