projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e8fda8
)
Pin Management UI tweaks for AU.
author
Robin Gareus
<robin@gareus.org>
Fri, 22 Apr 2016 17:35:58 +0000
(19:35 +0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 22 Apr 2016 17:35:58 +0000
(19:35 +0200)
gtk2_ardour/plugin_pin_dialog.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/plugin_pin_dialog.cc
b/gtk2_ardour/plugin_pin_dialog.cc
index 346f1e771866986145f00a7d872b23ed6d68b11a..79cb6174680fc8e2d42a416db0566fdd495e4c01 100644
(file)
--- 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 ());
_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);
if (_pi->custom_cfg ()) {
_set_config.set_active (true);
_add_plugin.set_sensitive (true);
@@
-313,6
+306,11
@@
PluginPinDialog::plugin_reconfigured ()
refill_output_presets ();
}
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;
if (!_pi->has_sidechain () && _sidechain_selector) {
delete _sidechain_selector;
_sidechain_selector = 0;