Wed, 14 Oct 2020 19:28:36 +0200
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():