13
0

Amend 87af9fb (fix context menu, don't allow to remove master)

This commit is contained in:
Robin Gareus 2020-01-28 23:17:21 +01:00
parent a430f65aa3
commit 6dfee0b1d2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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)