save only loaded pages in settings
This commit is contained in:
parent
61f99a6b2c
commit
1ced5a33da
@ -123,7 +123,7 @@ void FormSettings::cancelSettings() {
|
||||
QStringList changed_panels;
|
||||
|
||||
for (SettingsPanel* panel : qAsConst(m_panels)) {
|
||||
if (panel->isDirty()) {
|
||||
if (panel->isLoaded() && panel->isDirty()) {
|
||||
changed_panels.append(panel->title().toLower());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user