Fixed an issue in the file dialog wizard. 6_1_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 29 Nov 2015 17:25:42 +0100
branch
6_1_x
changeset 4592
263812ee54db
parent 4591
27deaa4e7a77
child 4596
28bffa5017f2

Fixed an issue in the file dialog wizard.
(grafted from 9fdd473c68fb78346aacb3f2ed3917b6eb02b58a)

Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sun Nov 29 17:26:31 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