Skip to content
Snippets Groups Projects
Commit b3d70723 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

bug fix

parent 1c3186a9
Branches
Tags
No related merge requests found
...@@ -60,6 +60,7 @@ class inputRange : public Fl_Group { ...@@ -60,6 +60,7 @@ class inputRange : public Fl_Group {
if(str.find_first_of(',') != std::string::npos){ if(str.find_first_of(',') != std::string::npos){
// parse list of values // parse list of values
std::string::size_type first = 0; std::string::size_type first = 0;
_choices.clear();
while(1){ while(1){
std::string::size_type last = str.find_first_of(',', first); std::string::size_type last = str.find_first_of(',', first);
std::string val = str.substr(first, last - first); std::string val = str.substr(first, last - first);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment