eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

changeset 7759
51aa6c6b66f7
parent 7533
88261c96484b
child 7780
41420f82c0ac
--- a/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Tue Oct 06 17:52:44 2020 +0200
@@ -221,7 +221,7 @@
             QRegularExpressionWizardCharactersDialog
         )
         dlg = QRegularExpressionWizardCharactersDialog(self)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             self.__insertString(dlg.getCharacters())
     
     @pyqtSlot()
@@ -240,7 +240,7 @@
             QRegularExpressionWizardRepeatDialog
         )
         dlg = QRegularExpressionWizardRepeatDialog(self)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             self.__insertString(dlg.getRepeat())
     
     @pyqtSlot()

eric ide

mercurial