13
0

modifiers: unconditionally show the solo context menu

* accessing solo-isolate from the context menu is the preferred way
* some route_uis (like track headers) do not have solo isolate buttons
This commit is contained in:
Ben Loftis 2022-06-17 09:24:46 -05:00
parent 88888237ac
commit 9a6533c382

View File

@ -635,16 +635,12 @@ RouteUI::solo_press(GdkEventButton* ev)
if (Keyboard::is_context_menu_event (ev)) {
if (! (solo_isolated_led && solo_isolated_led->get_visible()) ||
! (solo_safe_led && solo_safe_led->get_visible())) {
if (solo_menu == 0) {
build_solo_menu ();
}
solo_menu->popup (1, ev->time);
if (solo_menu == 0) {
build_solo_menu ();
}
solo_menu->popup (1, ev->time);
} else {
if (Keyboard::is_momentary_push_event (ev)) {