Commit f823f350 authored by Julien Cabieces's avatar Julien Cabieces

fix values list empty

parent 55c1088e
......@@ -259,7 +259,9 @@ int main(int argc, char* argv[])
for (auto k : key_list)
values += k + ";";
values.pop_back();
if (values.size())
values.pop_back();
dFile << "|" << values;
ChoiceParameter* cparam = dynamic_cast<ChoiceParameter*>(param.GetPointer());
default_value = std::to_string(cparam->GetValue());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment