LT: thin the mixer-strip (name button) context menu
This commit is contained in:
parent
774638bec9
commit
15b2850ca9
@ -1117,6 +1117,19 @@ MixerStrip::build_route_ops_menu ()
|
||||
|
||||
MenuList& items = route_ops_menu->items();
|
||||
|
||||
if (ARDOUR::Profile->get_livetrax()) {
|
||||
if (!_route->is_singleton ()) {
|
||||
items.push_back (MenuElem (_("Rename..."), sigc::mem_fun(*this, &RouteUI::route_rename)));
|
||||
items.push_back (SeparatorElem());
|
||||
/* do not allow rename if the track is record-enabled */
|
||||
items.back().set_sensitive (!is_track() || !track()->rec_enable_control()->get_value());
|
||||
items.push_back (MenuElem (_("Color..."), sigc::mem_fun (*this, &RouteUI::choose_color)));
|
||||
items.push_back (SeparatorElem());
|
||||
items.push_back (MenuElem (_("Remove"), sigc::mem_fun(PublicEditor::instance(), &PublicEditor::remove_tracks)));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (active) {
|
||||
|
||||
items.push_back (MenuElem (_("Color..."), sigc::mem_fun (*this, &RouteUI::choose_color)));
|
||||
|
Loading…
Reference in New Issue
Block a user