From b3d70723d236aec5ef1953647a17e849becf5316 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 12 Dec 2011 12:47:28 +0000 Subject: [PATCH] bug fix --- Fltk/inputRange.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Fltk/inputRange.h b/Fltk/inputRange.h index ed5ec0b118..5ffb6c2dab 100644 --- a/Fltk/inputRange.h +++ b/Fltk/inputRange.h @@ -60,6 +60,7 @@ class inputRange : public Fl_Group { if(str.find_first_of(',') != std::string::npos){ // parse list of values std::string::size_type first = 0; + _choices.clear(); while(1){ std::string::size_type last = str.find_first_of(',', first); std::string val = str.substr(first, last - first); -- GitLab