Fixed an issue in the file dialog wizard.

Sun, 29 Nov 2015 17:25:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 29 Nov 2015 17:25:42 +0100
changeset 4590
9fdd473c68fb
parent 4589
b648ccbdbef9
child 4593
cc745fa6c914

Fixed an issue in the file dialog wizard.

Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py file | annotate | diff | comparison | revisions
diff -r b648ccbdbef9 -r 9fdd473c68fb Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py
--- a/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sun Nov 29 14:33:38 2015 +0100
+++ b/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sun Nov 29 17:25:42 2015 +0100
@@ -346,6 +346,8 @@
                 filterVariable = ", selectedFilter"
             else:
                 filterVariable = ""
+        else:
+            filterVariable = ", " + filterVariable
         
         code = '{0}{1} = QFileDialog.'.format(nameVariable, filterVariable)
         if self.rOpenFile.isChecked() or self.rfOpenFile.isChecked():

eric ide

mercurial