Fixed a few little issues in eric6.

Sat, 11 Oct 2014 17:10:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 11 Oct 2014 17:10:20 +0200
changeset 3858
4f4684967fee
parent 3857
f8b548d399bc
child 3859
a128a5940722

Fixed a few little issues in eric6.

Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py file | annotate | diff | comparison | revisions
Project/CreateDialogCodeDialog.py file | annotate | diff | comparison | revisions
diff -r f8b548d399bc -r 4f4684967fee Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py
--- a/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sat Oct 11 12:48:50 2014 +0200
+++ b/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py	Sat Oct 11 17:10:20 2014 +0200
@@ -57,7 +57,7 @@
             self.__toggleInitialFilterAndResult)
         self.__toggleInitialFilterAndResult(1)
         
-        self.pyqtComboBox.addItems(["PyQt5", "PyQt5"])
+        self.pyqtComboBox.addItems(["PyQt4", "PyQt5"])
         if self.__pyqtVariant == 5:
             self.pyqtComboBox.setCurrentIndex(1)
         else:
diff -r f8b548d399bc -r 4f4684967fee Project/CreateDialogCodeDialog.py
--- a/Project/CreateDialogCodeDialog.py	Sat Oct 11 12:48:50 2014 +0200
+++ b/Project/CreateDialogCodeDialog.py	Sat Oct 11 17:10:20 2014 +0200
@@ -384,7 +384,8 @@
                         tmplName = os.path.join(
                             getConfig('ericCodeTemplatesDir'),
                             "impl_pyside.py.tmpl")
-                    elif self.project.getProjectType() == "PyQt5":
+                    elif self.project.getProjectType() in [
+                            "PyQt5", "E6Plugin"]:
                         tmplName = os.path.join(
                             getConfig('ericCodeTemplatesDir'),
                             "impl_pyqt5.py.tmpl")

eric ide

mercurial