summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-15 12:38:19 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-15 12:41:21 -0400
commit7460bbefb6e69b4f726b6f1324b999790b6ca42a (patch)
tree57dc30d5eeb28b3a59e8ecf6bdf720e31ad3cad9 /gtk2_ardour
parent9a11e3a64d485f2e9ae2bb2dd6409eb1c87f99d0 (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.cc4
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 *