diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/MicroPython/MicroPythonDevices.py --- a/src/eric7/MicroPython/MicroPythonDevices.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/MicroPython/MicroPythonDevices.py Tue Oct 18 16:06:21 2022 +0200 @@ -14,10 +14,10 @@ from PyQt6.QtCore import pyqtSlot, QObject, QCoreApplication from PyQt6.QtWidgets import QInputDialog -from EricWidgets.EricApplication import ericApp +from eric7.EricWidgets.EricApplication import ericApp -import UI.PixmapCache -import Preferences +from eric7.EricGui import EricPixmapCache +from eric7 import Preferences SupportedBoards = { @@ -391,9 +391,9 @@ ) if iconFormat: - return UI.PixmapCache.getIcon(iconName) + return EricPixmapCache.getIcon(iconName) else: - return UI.PixmapCache.getPixmap(iconName) + return EricPixmapCache.getPixmap(iconName) def getDevice(deviceType, microPythonWidget, vid, pid):