diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-10 17:14:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-10 17:14:11 +0200 |
commit | 6c93bcc64f25509aab76b1a17760795cf092c2b7 (patch) | |
tree | ae0262ac4d0c11752011812a00366557e09592b9 | |
parent | a4ec7c9e605705b6554ff93b332f209c05ef3fb7 (diff) |
allow MIDI bindings for boolean automation
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<Automatable> } else { but->set_name("generic button"); } + but->set_controllable(ac); but->signal_clicked.connect( sigc::mem_fun(*this, &AutomationController::toggled)); |