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()