From 4fc9291b010183acabea945aae00b8f74d00250c Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Tue, 16 Aug 2022 18:35:16 +0200 Subject: [PATCH] Update FileView.cpp --- SandboxiePlus/SandMan/Views/FileView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SandboxiePlus/SandMan/Views/FileView.cpp b/SandboxiePlus/SandMan/Views/FileView.cpp index 25405762..cb6b6ff4 100644 --- a/SandboxiePlus/SandMan/Views/FileView.cpp +++ b/SandboxiePlus/SandMan/Views/FileView.cpp @@ -20,6 +20,7 @@ CFileView::CFileView(QWidget *parent) m_pFileModel = new QFileSystemModel(this); m_pFileModel->setFilter(QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Files | QDir::Hidden | QDir::System); m_pTreeView->setModel(m_pFileModel); + m_pTreeView->setSortingEnabled(true); m_pTreeView->setSelectionMode(QAbstractItemView::ExtendedSelection); QStyle* pStyle = QStyleFactory::create("windows");