Settings are only saved if they are really changed (#16).
This commit is contained in:
parent
d6c5e42902
commit
9a057bb7b2
@ -93,8 +93,10 @@ void FormSettings::applySettings() {
|
||||
panels_for_restart.append(panel->title().toLower());
|
||||
}
|
||||
|
||||
if (panel->isDirty()) {
|
||||
panel->saveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
if (!panels_for_restart.isEmpty()) {
|
||||
const QStringList changed_settings_description = panels_for_restart.replaceInStrings(QRegExp(QSL("^")), QString::fromUtf8(" • "));
|
||||
|
Loading…
x
Reference in New Issue
Block a user