Commit 2b55732f authored by Ismael Asensio's avatar Ismael Asensio
Browse files

kcms/colors: Fix reset from selected "color from wallpaper"

On the `load()` method emit the signals to notify that the properties
regarding accent colors have changed, so the UI gets updated accordingly.

They're emitted unconditionally since the minimal performance improvement
wouldn't compense the extra code complexity to check for changes here.
parent 1e498d07
Pipeline #178952 passed with stage
in 12 minutes and 50 seconds
......@@ -354,6 +354,9 @@ void KCMColors::load()
Q_EMIT applyAccentColorFromWallpaperChanged();
Q_EMIT accentColorChanged();
// If need save is true at the end of load() function, it will stay disabled forever.
// setSelectedScheme() call due to unexisting scheme name in kdeglobals will trigger a need to save.
// this following call ensure the apply button will work properly.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment