- NotificationSettings s;
- _animate = s.value("Systray/Animate", true).toBool();
- _animateBox->setChecked(_animate);
- setChangedState(false);
+ if (widgetName == "attentionBehavior") {
+ NotificationSettings s;
+ s.setValue("Systray/ChangeColor", false);
+ s.setValue("Systray/Animate", false);
+ switch (value.toInt()) {
+ case 1:
+ s.setValue("Systray/ChangeColor", true);
+ return;
+ case 2:
+ s.setValue("Systray/Animate", true);
+ return;
+ default:
+ return;
+ }
+ }
+
+ SettingsPage::saveAutoWidgetValue(widgetName, value);