Write configs on load
This commit is contained in:
parent
f42e148b6c
commit
4f5d98b81a
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue