Settings are only saved if they are really changed (#16).
This commit is contained in:
parent
d6c5e42902
commit
9a057bb7b2
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue