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

fine-tuning

parent 585f35ad
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,11 @@ class inputRange : public Fl_Group { ...@@ -78,7 +78,11 @@ class inputRange : public Fl_Group {
_choices.clear(); _choices.clear();
} }
_range = tmp.str(); _range = tmp.str();
_range_tooltip = std::string("Range: ") + _range; if(_range_butt->active())
_range_tooltip = "Edit range [";
else
_range_tooltip = "Range [";
_range_tooltip += _range + "]";
_range_butt->tooltip(_range_tooltip.c_str()); _range_butt->tooltip(_range_tooltip.c_str());
} }
void _string2values() void _string2values()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment