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