Write configs on load

This commit is contained in:
GriffinR 2022-09-26 13:31:10 -04:00
parent f42e148b6c
commit 4f5d98b81a

View file

@ -80,7 +80,6 @@ void KeyValueConfigBase::load() {
} else {
file.close();
this->onNewConfigFileCreated();
this->save();
}
}
@ -111,6 +110,7 @@ void KeyValueConfigBase::load() {
this->parseConfigKeyValue(match.captured("key").trimmed().toLower(), match.captured("value").trimmed());
}
this->setUnreadKeys();
this->save();
file.close();
}