Only save settings that has been changed
This commit is contained in:
@@ -188,6 +188,8 @@ void AppearanceSettingsPage::Load() {
|
||||
|
||||
s.endGroup();
|
||||
|
||||
Init(ui_->layout_appearancesettingspage->parentWidget());
|
||||
|
||||
}
|
||||
|
||||
void AppearanceSettingsPage::Save() {
|
||||
@@ -269,6 +271,8 @@ void AppearanceSettingsPage::SelectForegroundColor() {
|
||||
|
||||
UpdateColorSelectorColor(ui_->select_foreground_color, color_selected);
|
||||
|
||||
set_changed();
|
||||
|
||||
}
|
||||
|
||||
void AppearanceSettingsPage::SelectBackgroundColor() {
|
||||
@@ -281,6 +285,8 @@ void AppearanceSettingsPage::SelectBackgroundColor() {
|
||||
|
||||
UpdateColorSelectorColor(ui_->select_background_color, color_selected);
|
||||
|
||||
set_changed();
|
||||
|
||||
}
|
||||
|
||||
void AppearanceSettingsPage::UseCustomColorSetOptionChanged(bool checked) {
|
||||
|
||||
Reference in New Issue
Block a user