summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-09-27 21:45:40 +0200
committerRobin Gareus <robin@gareus.org>2015-09-27 21:45:40 +0200
commit9f2aba1451dd73fd95deebec7ede3a8263b27103 (patch)
tree55ae83b71c2ef3e8afcf8e229c6ff32ba9636e8d
parent2e6b455b1942cb7de5825f0f9e9c343cefaace13 (diff)
mixer-strip name context-menu cleanup
patch thanks to chaot4
-rw-r--r--gtk2_ardour/mixer_strip.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 7e374f1c5a..57501062a4 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -1586,8 +1586,6 @@ MixerStrip::build_route_ops_menu ()
items.push_back (MenuElem (_("Remote Control ID..."), sigc::mem_fun (*this, &RouteUI::open_remote_control_id_dialog)));
}
- items.push_back (SeparatorElem());
-
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
@@ -1601,6 +1599,7 @@ MixerStrip::build_route_ops_menu ()
selection.set (rtav);
}
+ items.push_front (SeparatorElem());
items.push_front (MenuElem (_("Remove"), sigc::mem_fun(PublicEditor::instance(), &PublicEditor::remove_tracks)));
}
}