From: duplo Date: Sat, 25 Apr 2009 07:24:20 +0000 (+0000) Subject: Use toNativeSeparators method when the user select a directory with the native select... X-Git-Tag: 2.1.0~14 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6dfcd7d3f0ba06e414d6062d09658b57f0383c69;p=bertos.git Use toNativeSeparators method when the user select a directory with the native selector in Folder page git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2668 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index b6038ae3..b0f71db8 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -112,7 +112,7 @@ class BFolderPage(BWizardPage): """ directory = unicode(QFileDialog.getExistingDirectory(self, self.tr("Open Directory"), self.pageContent.directoryEdit.text(), QFileDialog.ShowDirsOnly)) if len(directory) > 0: - self.pageContent.directoryEdit.setText(directory) + self.pageContent.directoryEdit.setText(QDir.toNativeSeparators(directory)) ####