Fixed a bug in the QFileDialog wizard.

Sat, 20 Mar 2010 13:14:35 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 20 Mar 2010 13:14:35 +0000
changeset 147
33830c229cc1
parent 146
afeb742e7148
child 148
727a907b8305

Fixed a bug in the QFileDialog wizard.

Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py file | annotate | diff | comparison | revisions
diff -r afeb742e7148 -r 33830c229cc1 Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py
--- a/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sat Mar 20 12:17:57 2010 +0000
+++ b/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sat Mar 20 13:14:35 2010 +0000
@@ -166,7 +166,7 @@
                 else:
                     fmt = 'self.trUtf8("%s"),%s%s'
                 code += fmt % (self.eStartWith.text(), os.linesep, istring)
-            if self.eFilters.text():
+            if self.eFilters.text() == "":
                 code += '""'
             else:
                 if self.cFilters.isChecked(): 

eric ide

mercurial