src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10933
95a15b70f7bb
child 11090
f5f5f5803935
--- a/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Fri Oct 25 17:58:59 2024 +0200
@@ -230,7 +230,7 @@
             QRegularExpressionWizardCharactersDialog,
         )
 
-        dlg = QRegularExpressionWizardCharactersDialog(self)
+        dlg = QRegularExpressionWizardCharactersDialog(parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             self.__insertString(dlg.getCharacters())
 
@@ -250,7 +250,7 @@
             QRegularExpressionWizardRepeatDialog,
         )
 
-        dlg = QRegularExpressionWizardRepeatDialog(self)
+        dlg = QRegularExpressionWizardRepeatDialog(parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             self.__insertString(dlg.getRepeat())
 

eric ide

mercurial