don’t knob show tooltips if no prefix is set
ie the monitor section has explicit labels.
This commit is contained in:
parent
eea297dc3e
commit
01f8985617
@ -382,7 +382,9 @@ ArdourKnob::controllable_changed ()
|
||||
_val = c->get_interface(); //% of knob travel
|
||||
_val = min( max(0.0f, _val), 1.0f); //range check
|
||||
|
||||
ARDOUR_UI::instance()->set_tip (*this, _tooltip_prefix + c->get_user_string());
|
||||
if (!_tooltip_prefix.empty()) {
|
||||
ARDOUR_UI::instance()->set_tip (*this, _tooltip_prefix + c->get_user_string());
|
||||
}
|
||||
set_dirty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user