From 6326db0b9d73cfe24428ab00bebfc021e66eef8d Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 3 Feb 2009 18:05:45 +0000 Subject: [PATCH] Selecting a directory with the chooser mask now works git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2255 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BFolderPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 956349ec..ba79b4a9 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -67,7 +67,7 @@ class BFolderPage(BWizardPage): def _selectDirectory(self): directory = unicode(QFileDialog.getExistingDirectory(self, self.tr("Open Directory"), "", QFileDialog.ShowDirsOnly)) - if len(directory) == "": + if len(directory) > 0: self.pageContent.directoryEdit.setText(directory) def isComplete(self): -- 2.25.1