Commit d68c16b2 authored by Konrad Materka's avatar Konrad Materka
Browse files

[applet/systemtray] Regression: all applets in config are shown as disabled

After !125 allowed plasmoid are not correctly stored in config. As a
result, for new installs all plasmoids is system tray settings are shown
as disabled, even if these are enabled by default.
parent d752a3ed
......@@ -326,6 +326,8 @@ void SystemTray::restoreContents(KConfigGroup &group)
if (newKnownItems.length() > 0) {
general.writeEntry("knownItems", knownItems + newKnownItems);
}
// refresh state of config scheme, if not, above writes are ignored
scheme->read();
setAllowedPlasmoids(general.readEntry("extraItems", scheme->property("extraItems").toStringList()));
......
Markdown is supported
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