Add default directory (home directory) in the folder selection page
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 15:42:00 +0000 (15:42 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 15:42:00 +0000 (15:42 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2061 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BFolderPage.py

index 5a0a9566e9392571e337793748e8ee8b61729cef..4d8860d5facb28e67f3a199a3f0b38261a1aacb0 100644 (file)
@@ -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)