diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/EricWidgets/EricToolBarDialog.py --- a/src/eric7/EricWidgets/EricToolBarDialog.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/EricWidgets/EricToolBarDialog.py Tue Oct 18 16:06:21 2022 +0200 @@ -19,11 +19,11 @@ QAbstractButton, ) -from EricWidgets import EricMessageBox +from eric7.EricWidgets import EricMessageBox from .Ui_EricToolBarDialog import Ui_EricToolBarDialog -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class EricToolBarItem: @@ -78,10 +78,10 @@ self.__toolBarItemToWidgetActionID = {} # maps toolbar item IDs to widget action IDs - self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow")) - self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow")) - self.leftButton.setIcon(UI.PixmapCache.getIcon("1leftarrow")) - self.rightButton.setIcon(UI.PixmapCache.getIcon("1rightarrow")) + self.upButton.setIcon(EricPixmapCache.getIcon("1uparrow")) + self.downButton.setIcon(EricPixmapCache.getIcon("1downarrow")) + self.leftButton.setIcon(EricPixmapCache.getIcon("1leftarrow")) + self.rightButton.setIcon(EricPixmapCache.getIcon("1rightarrow")) self.__restoreDefaultsButton = self.buttonBox.button( QDialogButtonBox.StandardButton.RestoreDefaults