From a2b7cef2ca39b35ae66710801a0228e6b821d0aa Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 28 Jan 2009 14:33:51 +0000 Subject: [PATCH] Remove the last slash in the folder name and add a qstring->unicode conversion of the path git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2238 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index f92b4577..dc53d10c 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -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 -- 2.25.1