From: duplo Date: Wed, 17 Dec 2008 15:42:00 +0000 (+0000) Subject: Add default directory (home directory) in the folder selection page X-Git-Tag: 2.1.0~621 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a7b06a2869370d63b8d1c5ca85739ecfb18ead9f;p=bertos.git 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 --- 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)