fix(Globals): Fixed certain settings being overwritten

This commit is contained in:
Yimura 2021-07-24 15:16:15 +02:00
parent 379cc8129b
commit 9a8b7c8308

View File

@ -178,7 +178,7 @@ private:
if (deep_compare(current_settings[key], e.value()))
should_save = true;
}
else if (current_settings[key].type() != e.value().type()) {
else if (!current_settings[key].is_structured() && e.value().is_structured()) {
current_settings[key] = e.value();
should_save = true;