13
0

Pin Management UI tweaks for AU.

This commit is contained in:
Robin Gareus 2016-04-22 19:35:58 +02:00
parent 7e8fda8431
commit 9cebc9f8de

View File

@ -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;