From cf8b9464c59caddc831c58af08b99442f824b694 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 17 Nov 2015 17:34:33 -0600 Subject: tweak selection code for mixer strip Duplicate func --- gtk2_ardour/mixer_strip.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 8471699337..42b8e93daf 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1586,11 +1586,6 @@ MixerStrip::build_route_ops_menu () items.push_back (MenuElem (_("Remote Control ID..."), sigc::mem_fun (*this, &RouteUI::open_remote_control_id_dialog))); } - if (_route && !_route->is_master()) { - items.push_back (SeparatorElem()); - items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes))); - } - if (_route) { /* note that this relies on selection being shared across editor and mixer (or global to the backend, in the future), which is the only @@ -1604,6 +1599,11 @@ MixerStrip::build_route_ops_menu () selection.set (rtav); } + if (!_route->is_master()) { + items.push_back (SeparatorElem()); + items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes))); + } + items.push_back (SeparatorElem()); items.push_back (MenuElem (_("Remove"), sigc::mem_fun(PublicEditor::instance(), &PublicEditor::remove_tracks))); } -- cgit v1.2.3