Patch from acolomb to add a popup menu for solo iso/lock if
authorCarl Hetherington <carl@carlh.net>
Sun, 13 Nov 2011 01:35:30 +0000 (01:35 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 13 Nov 2011 01:35:30 +0000 (01:35 +0000)
the buttons are not visible (#4419).

git-svn-id: svn://localhost/ardour2/branches/3.0@10560 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/route_ui.cc

index f8c8ce9cfd94ee07b2c4762261356a7474d4fe8d..3eca92702a948c9c2f940783cc38202dd0284e61 100644 (file)
@@ -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 ();