mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
GenericUI: replace early return by an else
This commit is contained in:
parent
535814cf98
commit
d26c3d380d
1 changed files with 105 additions and 105 deletions
|
|
@ -740,9 +740,7 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
||||||
|
|
||||||
update_control_display(control_ui);
|
update_control_display(control_ui);
|
||||||
|
|
||||||
return control_ui;
|
} else {
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* create the controller */
|
/* create the controller */
|
||||||
|
|
||||||
|
|
@ -857,7 +855,9 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
||||||
|
|
||||||
input_controls.push_back (control_ui);
|
input_controls.push_back (control_ui);
|
||||||
|
|
||||||
} else if (!is_input) {
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
control_ui->display = manage (new EventBox);
|
control_ui->display = manage (new EventBox);
|
||||||
control_ui->display->set_name ("ParameterValueDisplay");
|
control_ui->display->set_name ("ParameterValueDisplay");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue