List matching I/O Plugin ports in connection button dropdown
This commit is contained in:
parent
8d879616a6
commit
c8671b5747
@ -248,6 +248,13 @@ IOButton::button_press (GdkEventButton* ev)
|
||||
}
|
||||
maybe_add_bundle_to_menu ((*i)->output ()->bundle (), current);
|
||||
}
|
||||
|
||||
for (auto const& iop : *_route->session ().io_plugs ()) {
|
||||
if (!iop->is_pre ()) {
|
||||
continue;
|
||||
}
|
||||
maybe_add_bundle_to_menu (iop->output ()->bundle (), current);
|
||||
}
|
||||
} else {
|
||||
DataType intended_type = guess_main_type (_input ? _route->input () : _route->output ());
|
||||
|
||||
@ -276,6 +283,13 @@ IOButton::button_press (GdkEventButton* ev)
|
||||
maybe_add_bundle_to_menu (*i, current, intended_type);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto const& iop : *_route->session ().io_plugs ()) {
|
||||
if (iop->is_pre ()) {
|
||||
continue;
|
||||
}
|
||||
maybe_add_bundle_to_menu (iop->input ()->bundle (), current, intended_type);
|
||||
}
|
||||
}
|
||||
|
||||
if (citems.size () > n_with_separator) {
|
||||
|
Loading…
Reference in New Issue
Block a user