diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/QScintilla/EditorButtonsWidget.py --- a/src/eric7/QScintilla/EditorButtonsWidget.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/QScintilla/EditorButtonsWidget.py Tue Oct 18 16:06:21 2022 +0200 @@ -21,8 +21,8 @@ QScrollArea, ) -import UI.PixmapCache -import Preferences +from eric7.EricGui import EricPixmapCache +from eric7 import Preferences from . import MarkupProviders @@ -232,7 +232,7 @@ @rtype QToolButton """ button = QToolButton(self.__buttonsWidget) - button.setIcon(UI.PixmapCache.getIcon(iconName)) + button.setIcon(EricPixmapCache.getIcon(iconName)) button.setToolTip(toolTip) button.clicked.connect(lambda: self.__formatClicked(formatName)) self.__layout.addWidget(button)