From 4318d25ec7cb7b53b3b5852fb65c9bed3978d670 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 1 Jan 2022 15:16:03 +0100 Subject: [PATCH] Backport from mixbus, prepare trigger-strip ctx menu --- gtk2_ardour/mixer_strip.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index ac81390a91..3fb9f92be4 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1204,6 +1204,13 @@ MixerStrip::build_route_ops_menu () selection.set (stav); } +#ifdef MIXBUS + if (_route->mixbus()) { + /* no dup, no remove */ + return; + } +#endif + if (!_route->is_master()) { items.push_back (SeparatorElem()); items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes)));