--- a/eric6/Plugins/PluginWizardQRegularExpression.py Sat Sep 21 18:30:02 2019 +0200 +++ b/eric6/Plugins/PluginWizardQRegularExpression.py Sat Sep 21 20:30:56 2019 +0200 @@ -100,10 +100,11 @@ @param editor reference to the current editor @return the generated code (string) """ - from WizardPlugins.QRegularExpressionWizard\ - .QRegularExpressionWizardDialog import \ + from WizardPlugins.QRegularExpressionWizard import ( QRegularExpressionWizardDialog - dlg = QRegularExpressionWizardDialog(None, True) + ) + dlg = QRegularExpressionWizardDialog.QRegularExpressionWizardDialog( + None, True) if dlg.exec_() == QDialog.Accepted: line, index = editor.getCursorPosition() indLevel = editor.indentation(line) // editor.indentationWidth()