Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py

changeset 4590
9fdd473c68fb
parent 4180
50fa3b7454e2
child 4631
5c1a96925da4
--- 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