diff -r b2ae47eaf0ae -r 0345f54d3959 eric6/Toolbox/Startup.py --- 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():