Changed calls of exec_() into exec(). release_3.1.0

Wed, 14 Oct 2020 19:28:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 14 Oct 2020 19:28:36 +0200
changeset 42
6a5cd4a132e2
parent 41
77de96a63b89
child 43
8e649f223421

Changed calls of exec_() into exec().

ChangeLog file | annotate | diff | comparison | revisions
PluginColorString.py file | annotate | diff | comparison | revisions
PluginColorString.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Jun 24 17:51:44 2020 +0200
+++ b/ChangeLog	Wed Oct 14 19:28:36 2020 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 3.1.0:
+- changed exec_() into exec()
+
 Version 3.0.0:
 - removed support for Python2
 
--- a/PluginColorString.py	Wed Jun 24 17:51:44 2020 +0200
+++ b/PluginColorString.py	Wed Oct 14 19:28:36 2020 +0200
@@ -21,7 +21,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "3.0.0"
+version = "3.1.0"
 className = "ColorStringPlugin"
 packageName = "ColorString"
 shortDescription = "Insert color as string"
@@ -315,7 +315,7 @@
         
         from ColorString.ColorSelectionDialog import ColorSelectionDialog
         dlg = ColorSelectionDialog(currColor, self.__ui)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             colorStr = dlg.getColor()
             editor.beginUndoAction()
             if editor.hasSelectedText():
Binary file PluginColorString.zip has changed

eric ide

mercurial