reload selected color scheme on colors changed

This commit is contained in:
Marco Martin 2016-05-10 17:18:48 +02:00
parent 0f00ca80d0
commit 2b7543c343

View File

@ -391,6 +391,7 @@ void ThemePrivate::colorsChanged()
colorScheme = KColorScheme(QPalette::Active, KColorScheme::Window, colors);
buttonColorScheme = KColorScheme(QPalette::Active, KColorScheme::Button, colors);
viewColorScheme = KColorScheme(QPalette::Active, KColorScheme::View, colors);
selectionColorScheme = KColorScheme(QPalette::Active, KColorScheme::Selection, colors);
scheduleThemeChangeNotification(PixmapCache | SvgElementsCache);
emit applicationPaletteChange();
}