From 4f5d98b81a05d03f979356fecfc576f53cc8d596 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Mon, 26 Sep 2022 13:31:10 -0400 Subject: [PATCH] Write configs on load --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index 5d508351..821194b8 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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(); }