From a7b06a2869370d63b8d1c5ca85739ecfb18ead9f Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 17 Dec 2008 15:42:00 +0000 Subject: [PATCH] Add default directory (home directory) in the folder selection page git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2061 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 5a0a9566..4d8860d5 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -25,7 +25,8 @@ class BFolderPage(BWizardPage): def _initializeAttributes(self): self._projectName = "" - self._destinationFolder = "" + self._destinationFolder = os.path.expanduser("~") + self.pageContent.directoryEdit.setText(self._destinationFolder) def _connectSignals(self): self.connect(self.pageContent.nameEdit, SIGNAL("textChanged(const QString)"), self._nameChanged) -- 2.25.1