--- a/src/eric7/EricWidgets/EricAnimatedLabel.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/EricWidgets/EricAnimatedLabel.py Tue Oct 18 16:06:21 2022 +0200 @@ -11,7 +11,7 @@ from PyQt6.QtGui import QPixmap from PyQt6.QtWidgets import QLabel -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class EricAnimatedLabel(QLabel): @@ -54,7 +54,7 @@ """ self.__animationFile = animationFile - pixmap = UI.PixmapCache.getPixmap(animationFile) + pixmap = EricPixmapCache.getPixmap(animationFile) if not pixmap.isNull(): self.__pixmap = pixmap self.__pixmapHeight = pixmap.height()