mixer-strip name context-menu cleanup
authorRobin Gareus <robin@gareus.org>
Sun, 27 Sep 2015 19:45:40 +0000 (21:45 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 27 Sep 2015 19:45:40 +0000 (21:45 +0200)
patch thanks to chaot4

gtk2_ardour/mixer_strip.cc

index 7e374f1c5ae7627681a711799fa6bd32bafef3b3..57501062a4c3e3934fdd1525c1c7dc349b071194 100644 (file)
@@ -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)));
                }
        }