diff --git a/src/widget/style.cpp b/src/widget/style.cpp index 5147bb99a..4e5c8fe94 100644 --- a/src/widget/style.cpp +++ b/src/widget/style.cpp @@ -196,6 +196,7 @@ void Style::repolish(QWidget* w) void Style::setThemeColor(int color) { + stylesheetsCache.clear(); // clear stylesheet cache which includes color info if (color < 0 || color >= themeColorColors.size()) setThemeColor(QColor()); else