mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
fix generic plugins for toggle with 2 scalepoints (enum)
Signed-off-by: Robin Gareus <robin@gareus.org>
This commit is contained in:
parent
6c88f339ca
commit
c2f4399b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||
input_controls_with_automation.push_back (control_ui);
|
||||
}
|
||||
|
||||
if (desc.toggled) {
|
||||
if (desc.toggled && !control_ui->combo) {
|
||||
control_ui->button = true;
|
||||
ArdourButton* but = dynamic_cast<ArdourButton*>(control_ui->controller->widget ());
|
||||
assert (but);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue