eric6/Plugins/PluginWizardPyRegExp.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
--- a/eric6/Plugins/PluginWizardPyRegExp.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Plugins/PluginWizardPyRegExp.py	Tue Oct 06 17:52:44 2020 +0200
@@ -104,7 +104,7 @@
             PyRegExpWizardDialog
         )
         dlg = PyRegExpWizardDialog(None, True)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             line, index = editor.getCursorPosition()
             indLevel = editor.indentation(line) // editor.indentationWidth()
             if editor.indentationsUseTabs():

eric ide

mercurial