src/eric7/Plugins/PluginWizardQFontDialog.py

branch
eric7
changeset 10331
c1a2ff7e3575
parent 10061
8bdad5699288
child 10437
2f70ca07f0af
diff -r 5ea038882dd6 -r c1a2ff7e3575 src/eric7/Plugins/PluginWizardQFontDialog.py
--- a/src/eric7/Plugins/PluginWizardQFontDialog.py	Tue Nov 21 11:42:45 2023 +0100
+++ b/src/eric7/Plugins/PluginWizardQFontDialog.py	Wed Nov 22 17:19:10 2023 +0100
@@ -107,11 +107,9 @@
         @param editor reference to the current editor
         @return the generated code (string)
         """
-        from eric7.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog import (  # __IGNORE_WARNING__
-            FontDialogWizardDialog,
-        )
+        from eric7.Plugins.WizardPlugins.FontDialogWizard import FontDialogWizardDialog
 
-        dlg = FontDialogWizardDialog(None)
+        dlg = FontDialogWizardDialog.FontDialogWizardDialog(None)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             line, index = editor.getCursorPosition()
             indLevel = editor.indentation(line) // editor.indentationWidth()

eric ide

mercurial