fix(Globals): Fixed certain settings being overwritten
This commit is contained in:
parent
1f869a927e
commit
dd5d4978d4
@ -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;
|
||||||
|
Reference in New Issue
Block a user