src/eric7/Plugins/PluginWizardPyRegExp.py

branch
eric7
changeset 11006
a671918232f3
parent 10730
454f6ff4e1cd
child 11090
f5f5f5803935
diff -r b918c6c2736b -r a671918232f3 src/eric7/Plugins/PluginWizardPyRegExp.py
--- a/src/eric7/Plugins/PluginWizardPyRegExp.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Plugins/PluginWizardPyRegExp.py	Fri Oct 25 17:58:59 2024 +0200
@@ -115,7 +115,7 @@
             PyRegExpWizardDialog,
         )
 
-        dlg = PyRegExpWizardDialog(None, True)
+        dlg = PyRegExpWizardDialog(parent=self.__ui, fromEric=True)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             line, index = editor.getCursorPosition()
             indLevel = editor.indentation(line) // editor.indentationWidth()

eric ide

mercurial