diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-15 12:38:19 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-15 12:41:21 -0400 |
commit | 7460bbefb6e69b4f726b6f1324b999790b6ca42a (patch) | |
tree | 57dc30d5eeb28b3a59e8ecf6bdf720e31ad3cad9 /gtk2_ardour | |
parent | 9a11e3a64d485f2e9ae2bb2dd6409eb1c87f99d0 (diff) |
after showing a ProcessorBox context menu, resensitize all actions that it may have made insensitive
This allows them to be invoked via other means (e.g. bindings)
Diffstat (limited to 'gtk2_ardour')
-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 049a628ea7..ab25394d59 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -3526,6 +3526,10 @@ void ProcessorBox::processor_menu_unmapped () { processor_display.remove_placeholder (); + /* make all possibly-desensitized actions sensitive again so that + they be activated by other means (e.g. bindings) + */ + ActionManager::set_sensitive (ActionManager::plugin_selection_sensitive_actions, true); } XMLNode * |