diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 17:56:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 17:56:23 -0400 |
commit | 803853b4a43582f8d89542d0b3ec58e972826f64 (patch) | |
tree | 99ed6cfe2fb26efcee2bdd1d1b0d5be740f15a16 /gtk2_ardour/mixer_strip.cc | |
parent | 537b3a2a0e34f1e49d47b8a51d08c690e02f1454 (diff) |
rationalize incorrect design for removing tracks.
Still requires a way to make this work correctly from the mixer window
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 03d0cbad92..ae5a0023c1 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1540,7 +1540,8 @@ MixerStrip::build_route_ops_menu () } items.push_back (SeparatorElem()); - items.push_back (MenuElem (_("Remove"), sigc::bind (sigc::mem_fun(*this, &RouteUI::remove_this_route), false))); + /* gah, this is wrong ... it will operate on the wrong selection */ + items.push_front (MenuElem (_("Remove"), sigc::mem_fun(PublicEditor::instance(), &PublicEditor::remove_tracks))); } gboolean |