src/eric7/QScintilla/Editor.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10908
ef1b3cd9a6ca
child 10941
07cad049002c
child 10952
b54b3eacfab6
diff -r 22c3928a1ab5 -r 9ef616cd220d src/eric7/QScintilla/Editor.py
--- a/src/eric7/QScintilla/Editor.py	Wed Sep 25 14:07:40 2024 +0200
+++ b/src/eric7/QScintilla/Editor.py	Wed Sep 25 14:48:57 2024 +0200
@@ -57,7 +57,7 @@
     QToolTip,
 )
 
-from eric7 import EricUtilities, Globals, Preferences, Utilities
+from eric7 import EricUtilities, Preferences, Utilities
 from eric7.CodeFormatting.BlackFormattingAction import BlackFormattingAction
 from eric7.CodeFormatting.BlackUtilities import aboutBlack
 from eric7.CodeFormatting.IsortFormattingAction import IsortFormattingAction
@@ -7868,7 +7868,7 @@
         """
         Public method to load a macro from a file.
         """
-        configDir = Globals.getConfigDir()
+        configDir = EricUtilities.getConfigDir()
         fname = EricFileDialog.getOpenFileName(
             self,
             self.tr("Load macro file"),
@@ -7907,7 +7907,7 @@
         """
         Public method to save a macro to a file.
         """
-        configDir = Globals.getConfigDir()
+        configDir = EricUtilities.getConfigDir()
 
         name, ok = self.__getMacroName()
         if not ok or not name:

eric ide

mercurial