From: Carl Hetherington Date: Sun, 13 Nov 2011 01:35:30 +0000 (+0000) Subject: Patch from acolomb to add a popup menu for solo iso/lock if X-Git-Tag: 3.0-beta1~51 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=420780f5fcc43d060bad166286dca85a651d9be8;p=ardour.git Patch from acolomb to add a popup menu for solo iso/lock if the buttons are not visible (#4419). git-svn-id: svn://localhost/ardour2/branches/3.0@10560 d708f5d6-7413-0410-9779-e7cbd77b26cf --- diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index f8c8ce9cfd..3eca92702a 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -385,7 +385,8 @@ RouteUI::solo_press(GdkEventButton* ev) if (Keyboard::is_context_menu_event (ev)) { - if (!solo_isolated_led) { + if (! (solo_isolated_led && solo_isolated_led->is_visible()) || + ! (solo_safe_led && solo_safe_led->is_visible())) { if (solo_menu == 0) { build_solo_menu ();