Remove the last slash in the folder name and add a qstring->unicode conversion of...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Jan 2009 14:33:51 +0000 (14:33 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Jan 2009 14:33:51 +0000 (14:33 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2238 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BFolderPage.py

index f92b457743b4c47290ef9103a4836e6d3641fb5c..dc53d10c0d0f6c5e697b95835bf42228fd7d4fdf 100644 (file)
@@ -45,7 +45,7 @@ class BFolderPage(BWizardPage):
         if self._destinationFolder != "" and self._projectName <> "":
             if not self._destinationFolder.endswith(os.sep):
                 self._destinationFolder += os.sep
-            self.pageContent.projectPath.setText(self._destinationFolder + self._projectName + "/")
+            self.pageContent.projectPath.setText(self._destinationFolder + self._projectName)
         else:
             self.pageContent.projectPath.setText("None")
         self.emit(SIGNAL("completeChanged()"))
@@ -57,7 +57,7 @@ class BFolderPage(BWizardPage):
     
     def isComplete(self):
         if self.pageContent.projectPath.text() != "None":
-            self._projectInfoStore("PROJECT_PATH", self.pageContent.projectPath.text())
+            self._projectInfoStore("PROJECT_PATH", unicode(self.pageContent.projectPath.text()))
             return True
         else:
             return False
\ No newline at end of file