diff src/mainwindow.cpp @ 90:c3000fa6ca56

Add back button to subfolder selection dialog
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 19 Jun 2015 14:27:56 +0200
parents 3b3a1384eb5f
children faece2c21229
line wrap: on
line diff
--- a/src/mainwindow.cpp	Fri Jun 19 14:27:15 2015 +0200
+++ b/src/mainwindow.cpp	Fri Jun 19 14:27:56 2015 +0200
@@ -201,6 +201,10 @@
     connect(fsDialog, &FolderSelectDialog::folderSelected,
             this, &MainWindow::setFolder);
 
+    connect(fsDialog, &FolderSelectDialog::backClicked,
+            this, &MainWindow::showWithFolderSelect);
+    connect(fsDialog, &FolderSelectDialog::backClicked,
+            fsDialog, &QDialog::close);
     fsDialog->show();
 //    connect(fsDialog, &QDialog::closeEvent, fsDialog, &QObject::deleteLater);
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)