PluginColorString.py

changeset 42
6a5cd4a132e2
parent 40
e0086d2cb15d
child 44
0d8ab93654bd
diff -r 77de96a63b89 -r 6a5cd4a132e2 PluginColorString.py
--- 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():

eric ide

mercurial