eric6/Plugins/PluginWizardQRegularExpression.py

changeset 7256
4ef3b78ebb4e
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- 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()

eric ide

mercurial