after showing a ProcessorBox context menu, resensitize all actions that it may have...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 Mar 2016 16:38:19 +0000 (12:38 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 Mar 2016 16:41:21 +0000 (12:41 -0400)
This allows them to be invoked via other means (e.g. bindings)

gtk2_ardour/processor_box.cc

index 049a628ea717d3618476e794e2392f0c147ccad4..ab25394d593a8b0d8db1a8c7b0aa2b176e516211 100644 (file)
@@ -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 *