Settings are only saved if they are really changed (#16).

This commit is contained in:
Martin Rotter 2016-08-02 09:31:01 +02:00
parent d6c5e42902
commit 9a057bb7b2

View File

@ -93,7 +93,9 @@ void FormSettings::applySettings() {
panels_for_restart.append(panel->title().toLower());
}
panel->saveSettings();
if (panel->isDirty()) {
panel->saveSettings();
}
}
if (!panels_for_restart.isEmpty()) {