13
0

Backport from mixbus, prepare trigger-strip ctx menu

This commit is contained in:
Robin Gareus 2022-01-01 15:16:03 +01:00
parent c16631f8f8
commit 4318d25ec7
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1204,6 +1204,13 @@ MixerStrip::build_route_ops_menu ()
selection.set (stav); selection.set (stav);
} }
#ifdef MIXBUS
if (_route->mixbus()) {
/* no dup, no remove */
return;
}
#endif
if (!_route->is_master()) { if (!_route->is_master()) {
items.push_back (SeparatorElem()); items.push_back (SeparatorElem());
items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes))); items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes)));