diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-13 01:35:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-13 01:35:30 +0000 |
commit | 420780f5fcc43d060bad166286dca85a651d9be8 (patch) | |
tree | b7b49fc433f731f7568c535f60a3950099b29204 /gtk2_ardour/route_ui.cc | |
parent | ab53e4d1e3e330d6c0e53753c13174502acd7094 (diff) |
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
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 (); |