From 269b0ebcd80a1fe99f219bfc7f7bb6ef95ce630e Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Tue, 13 Mar 2018 08:05:41 -0700 Subject: [PATCH] Same for midi input enable button --- gtk2_ardour/mixer_strip.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 49b7e2510b..3868dd6bd0 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -2174,7 +2174,10 @@ MixerStrip::drop_send () monitor_disk_button->set_sensitive (true); _comment_button.set_sensitive (true); trim_control.set_sensitive (true); - control_slave_ui.set_sensitive(true); + if (midi_input_enable_button) { + midi_input_enable_button->set_sensitive (true); + } + control_slave_ui.set_sensitive (true); RouteUI::check_rec_enable_sensitivity (); set_button_names (); // update solo button visual state } @@ -2224,7 +2227,10 @@ MixerStrip::show_send (boost::shared_ptr send) monitor_disk_button->set_sensitive (false); _comment_button.set_sensitive (false); trim_control.set_sensitive (false); - control_slave_ui.set_sensitive(false); + if (midi_input_enable_button) { + midi_input_enable_button->set_sensitive (false); + } + control_slave_ui.set_sensitive (false); if (boost::dynamic_pointer_cast(send)) { output_button.set_sensitive (false);