mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Fix UI for Sends & Inserts (regression was in 0c59ba649e)
This commit is contained in:
parent
46eed03282
commit
4c7664e3f8
1 changed files with 22 additions and 1 deletions
|
|
@ -2627,7 +2627,28 @@ ProcessorBox::maybe_add_processor_to_ui_list (boost::weak_ptr<Processor> w)
|
|||
if (p->window_proxy()) {
|
||||
return;
|
||||
}
|
||||
if (!boost::dynamic_pointer_cast<PluginInsert> (p)) {
|
||||
|
||||
/* see also ProcessorBox::get_editor_window */
|
||||
bool have_ui = false;
|
||||
|
||||
if (boost::dynamic_pointer_cast<PluginInsert> (p)) {
|
||||
have_ui = true;
|
||||
}
|
||||
else if (boost::dynamic_pointer_cast<PortInsert> (p)) {
|
||||
have_ui = true;
|
||||
}
|
||||
else if (boost::dynamic_pointer_cast<Send> (p)) {
|
||||
if (!boost::dynamic_pointer_cast<InternalSend> (p)) {
|
||||
have_ui = true;
|
||||
}
|
||||
}
|
||||
else if (boost::dynamic_pointer_cast<Return> (p)) {
|
||||
if (!boost::dynamic_pointer_cast<InternalReturn> (p)) {
|
||||
have_ui = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!have_ui) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue