Fixed updating of the value for "Post processing scripts" field

This commit is contained in:
YuSanka 2018-11-22 16:08:41 +01:00
parent 9d7b4ce41d
commit 421fbe3a3c

View file

@ -165,7 +165,7 @@ void change_opt_value(DynamicPrintConfig& config, const t_config_option_key& opt
std::vector<std::string> values; std::vector<std::string> values;
boost::split(values, str, boost::is_any_of(";")); boost::split(values, str, boost::is_any_of(";"));
if (values.size() == 1 && values[0] == "") if (values.size() == 1 && values[0] == "")
break; values.resize(0);//break;
config.option<ConfigOptionStrings>(opt_key)->values = values; config.option<ConfigOptionStrings>(opt_key)->values = values;
} }
else{ else{