diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-02-10 16:41:46 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-02-11 11:13:24 -0600 |
commit | b1f9b644fcf4f009e054a6895e14794ed4de01a0 (patch) | |
tree | e1d6c32a75a88ad3513e276bfb316c2352626690 /gtk2_ardour/processor_box.cc | |
parent | b2d4c731e82c5267bc41d91de9104bef04316380 (diff) |
desensitize redirect-menu Send and Control items when they are not applicable
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index ab656007f2..70f4002198 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1148,6 +1148,8 @@ ProcessorBox::show_processor_menu (int arg) gtk_menu_item_set_submenu (controls_menu_item->gobj(), 0); controls_menu_item->set_sensitive (false); } + } else { + controls_menu_item->set_sensitive (false); } } @@ -1162,6 +1164,8 @@ ProcessorBox::show_processor_menu (int arg) gtk_menu_item_set_submenu (send_menu_item->gobj(), 0); send_menu_item->set_sensitive (false); } + } else { + send_menu_item->set_sensitive (false); } } |