--- a/src/eric7/EricWidgets/EricApplication.py Mon Apr 22 13:20:16 2024 +0200 +++ b/src/eric7/EricWidgets/EricApplication.py Mon Apr 22 15:15:36 2024 +0200 @@ -73,7 +73,6 @@ ) self.__hasNonStandardPalette = False - self.__hasUserStyleSheet = False def usesSmallScreen(self): """ @@ -243,8 +242,6 @@ styleIconsPath = self.getStyleIconsPath(universal=True) styleSheet = styleSheet.replace("${path}", styleIconsPath) - self.__hasUserStyleSheet = True - if "QPalette {" in styleSheet: self.__setPaletteFromStyleSheet(styleSheet)