From 534838995d00671aaea67e1ee0cee92b5c8a5d41 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 22 May 2020 17:35:55 +0200 Subject: Allow MIDI learn on inline toggle buttons --- gtk2_ardour/processor_box.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/processor_box.cc') diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 9194b5c5db..d604abface 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -884,13 +884,14 @@ ProcessorEntry::Control::Control (ProcessorEntry& e,boost::shared_ptrtoggled()) { _button.set_text (_name); _button.set_led_left (true); _button.set_name ("processor control button"); + _button.set_controllable (c); + box.add (_button); _button.show (); @@ -909,6 +910,7 @@ ProcessorEntry::Control::Control (ProcessorEntry& e,boost::shared_ptr