summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_pin_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-22 19:35:58 +0200
committerRobin Gareus <robin@gareus.org>2016-04-22 19:35:58 +0200
commit9cebc9f8deacc964397b5f5fd0c1013951a89048 (patch)
treed344dd7b7dd74bf719f14d0998e7d672b4ccb49e /gtk2_ardour/plugin_pin_dialog.cc
parent7e8fda8431d1d5a577d654b6bc30093f31247994 (diff)
Pin Management UI tweaks for AU.
Diffstat (limited to 'gtk2_ardour/plugin_pin_dialog.cc')
-rw-r--r--gtk2_ardour/plugin_pin_dialog.cc12
1 files 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;