patch_manager: check config values before applying them

This commit is contained in:
Megamouse 2023-02-19 20:34:21 +01:00
parent a29dc3893f
commit f0c8f6d47b
3 changed files with 34 additions and 2 deletions

View file

@ -340,7 +340,7 @@ void patch_manager_dialog::populate_tree()
if (config_values.config_values.contains(key))
{
config_value.value = config_values.config_values.at(key).value;
config_value.set_and_check_value(config_values.config_values.at(key).value, key);
}
q_config_values[QString::fromStdString(key)] = QVariant::fromValue(config_value);