Settings are only saved if they are really changed (#16).
This commit is contained in:
parent
d6c5e42902
commit
9a057bb7b2
@ -93,7 +93,9 @@ void FormSettings::applySettings() {
|
|||||||
panels_for_restart.append(panel->title().toLower());
|
panels_for_restart.append(panel->title().toLower());
|
||||||
}
|
}
|
||||||
|
|
||||||
panel->saveSettings();
|
if (panel->isDirty()) {
|
||||||
|
panel->saveSettings();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!panels_for_restart.isEmpty()) {
|
if (!panels_for_restart.isEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user