Amend 87af9fb
(fix context menu, don't allow to remove master)
This commit is contained in:
parent
a430f65aa3
commit
6dfee0b1d2
@ -1776,14 +1776,11 @@ MixerStrip::build_route_ops_menu ()
|
||||
if (!_route->is_master()) {
|
||||
items.push_back (SeparatorElem());
|
||||
items.push_back (MenuElem (_("Duplicate..."), sigc::mem_fun (*this, &RouteUI::duplicate_selected_routes)));
|
||||
}
|
||||
}
|
||||
|
||||
if (active) {
|
||||
items.push_back (SeparatorElem());
|
||||
items.push_back (MenuElem (_("Remove"), sigc::mem_fun(PublicEditor::instance(), &PublicEditor::remove_tracks)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
MixerStrip::name_button_button_press (GdkEventButton* ev)
|
||||
|
Loading…
Reference in New Issue
Block a user