Startup: fixed an issue related to accessing the global settings object.

Sun, 12 Apr 2020 15:03:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 12 Apr 2020 15:03:27 +0200
changeset 7528
0345f54d3959
parent 7527
b2ae47eaf0ae
child 7529
2b8a0d8ba12a

Startup: fixed an issue related to accessing the global settings object.

eric6/Toolbox/Startup.py file | annotate | diff | comparison | revisions
--- a/eric6/Toolbox/Startup.py	Sun Apr 12 14:58:36 2020 +0200
+++ b/eric6/Toolbox/Startup.py	Sun Apr 12 15:03:27 2020 +0200
@@ -19,7 +19,6 @@
 import Globals
 
 import UI.PixmapCache
-import Preferences
 
 from eric6config import getConfig
 
@@ -143,6 +142,8 @@
     @return list of default icon paths
     @rtype list of str
     """
+    import Preferences
+    
     defaultIconsPath = Preferences.getIcons("DefaultIconsPath")
     if defaultIconsPath == "automatic":
         if application.usesDarkPalette():

eric ide

mercurial