From 9cebc9f8deacc964397b5f5fd0c1013951a89048 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 22 Apr 2016 19:35:58 +0200 Subject: [PATCH] Pin Management UI tweaks for AU. --- gtk2_ardour/plugin_pin_dialog.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/plugin_pin_dialog.cc b/gtk2_ardour/plugin_pin_dialog.cc index 346f1e7718..79cb617468 100644 --- a/gtk2_ardour/plugin_pin_dialog.cc +++ b/gtk2_ardour/plugin_pin_dialog.cc @@ -284,13 +284,6 @@ PluginPinDialog::plugin_reconfigured () _add_sc_audio.set_sensitive (_pi->has_sidechain ()); _add_sc_midi.set_sensitive (_pi->has_sidechain ()); -#ifdef MIXBUS - if (_pi->plugin (0)->get_info()->type == ARDOUR::AudioUnit) { - _set_config.set_sensitive (false); - _tgl_sidechain.set_sensitive (false); - } -#endif - if (_pi->custom_cfg ()) { _set_config.set_active (true); _add_plugin.set_sensitive (true); @@ -313,6 +306,11 @@ PluginPinDialog::plugin_reconfigured () refill_output_presets (); } + if (_pi->plugin (0)->get_info()->type == ARDOUR::AudioUnit) { + _add_plugin.set_sensitive (false); + _del_plugin.set_sensitive (false); + } + if (!_pi->has_sidechain () && _sidechain_selector) { delete _sidechain_selector; _sidechain_selector = 0;