--- a/src/eric7/WebBrowser/Navigation/ReloadStopButton.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/WebBrowser/Navigation/ReloadStopButton.py Tue Oct 18 16:06:21 2022 +0200 @@ -9,9 +9,9 @@ from PyQt6.QtCore import pyqtSlot, pyqtSignal, Qt -from EricWidgets.EricToolButton import EricToolButton +from eric7.EricWidgets.EricToolButton import EricToolButton -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class ReloadStopButton(EricToolButton): @@ -61,10 +61,10 @@ Private slot to update the button. """ if self.__loading: - self.setIcon(UI.PixmapCache.getIcon("stopLoading")) + self.setIcon(EricPixmapCache.getIcon("stopLoading")) self.setToolTip(self.tr("Stop loading")) else: - self.setIcon(UI.PixmapCache.getIcon("reload")) + self.setIcon(EricPixmapCache.getIcon("reload")) self.setToolTip(self.tr("Reload the current screen")) def setLoading(self, loading):