commit b09b1f5c
Go to the new root folder if selected
Changed files
| M | src/mainwindow.cpp before |
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3fadf22..1dc4c1f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -394,6 +394,7 @@ void MainWindow::setupConnections()
QString rootPath = current->data(Qt::UserRole).toString();
m_dirModel->setRootPath(rootPath);
m_treeView->setRootIndex(m_dirModel->rootIndex());
+ navigateToFolder(QFile::encodeName(rootPath));
});
connect(m_treeView, &QTreeView::clicked, this,