fix(Globals): Fixed certain settings being overwritten

This commit is contained in:
Yimura 2021-07-24 15:16:15 +02:00
parent 1f869a927e
commit dd5d4978d4

View File

@ -178,7 +178,7 @@ private:
if (deep_compare(current_settings[key], e.value())) if (deep_compare(current_settings[key], e.value()))
should_save = true; 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(); current_settings[key] = e.value();
should_save = true; should_save = true;