mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-25 17:25:38 -05:00
Write configs on load
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user