Only show automation mode button for PluginInsert ctrls
Previously the generic UI of I/O plugins (and upcoming Region Fx showed an insensitive Automation mode (manual, play, touch etc) dropdown for all controls. That accomplished nothing but wasted space.
This commit is contained in:
parent
59b2369736
commit
1cd9a9b57d
@ -1015,7 +1015,10 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!_pi || mcontrol->flags () & Controllable::NotAutomatable) {
|
if (!_pi) {
|
||||||
|
control_ui->automate_button.set_no_show_all ();
|
||||||
|
control_ui->automate_button.hide ();
|
||||||
|
} else if (mcontrol->flags () & Controllable::NotAutomatable) {
|
||||||
control_ui->automate_button.set_sensitive (false);
|
control_ui->automate_button.set_sensitive (false);
|
||||||
set_tooltip(control_ui->automate_button, _("This control cannot be automated"));
|
set_tooltip(control_ui->automate_button, _("This control cannot be automated"));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user