From 6c93bcc64f25509aab76b1a17760795cf092c2b7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 10 Apr 2015 17:14:11 +0200 Subject: [PATCH] allow MIDI bindings for boolean automation --- gtk2_ardour/automation_controller.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index e1e16a7848..f57f2a737a 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -84,6 +84,7 @@ AutomationController::AutomationController(boost::shared_ptr } else { but->set_name("generic button"); } + but->set_controllable(ac); but->signal_clicked.connect( sigc::mem_fun(*this, &AutomationController::toggled));