From 1fc71821dbce1d85a5d5227bd9e6580b573e8eba Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 20 Apr 2009 16:54:52 +0000 Subject: [PATCH] Use the directory written in the lineedit as base directory for the file dialog git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2590 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 187557db..0539c62b 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -81,7 +81,7 @@ class BFolderPage(BWizardPage): """ Slot called when the project folder is changed using the file dialog. """ - directory = unicode(QFileDialog.getExistingDirectory(self, self.tr("Open Directory"), "", QFileDialog.ShowDirsOnly)) + directory = unicode(QFileDialog.getExistingDirectory(self, self.tr("Open Directory"), self.pageContent.directoryEdit.text(), QFileDialog.ShowDirsOnly)) if len(directory) > 0: self.pageContent.directoryEdit.setText(directory) -- 2.25.1