src/eric7/Plugins/PluginWizardDotDesktop.py

branch
eric7
changeset 10331
c1a2ff7e3575
parent 10061
8bdad5699288
child 10437
2f70ca07f0af
--- a/src/eric7/Plugins/PluginWizardDotDesktop.py	Tue Nov 21 11:42:45 2023 +0100
+++ b/src/eric7/Plugins/PluginWizardDotDesktop.py	Wed Nov 22 17:19:10 2023 +0100
@@ -115,6 +115,8 @@
         """
         Private method to handle the wizards action.
         """
+        from eric7.Plugins.WizardPlugins.DotDesktopWizard import DotDesktopWizardDialog
+
         editor = ericApp().getObject("ViewManager").activeWindow()
 
         if editor is None:
@@ -138,11 +140,7 @@
                     ericApp().getObject("ViewManager").newEditor()
                     editor = ericApp().getObject("ViewManager").activeWindow()
 
-            from eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import (  # __IGNORE_WARNING__
-                DotDesktopWizardDialog,
-            )
-
-            dlg = DotDesktopWizardDialog(None)
+            dlg = DotDesktopWizardDialog.DotDesktopWizardDialog(None)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 code = dlg.getCode()
                 if code:

eric ide

mercurial