mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
when disconnecting a MIDI port for follows-selection, get ALL connections
without the 3rd argument, we only get information about ports that we own.
This commit is contained in:
parent
cf58a157e3
commit
0847dc8a37
1 changed files with 2 additions and 1 deletions
|
|
@ -744,7 +744,8 @@ Session::disconnect_port_for_rewire (std::string const& port) const
|
|||
bool keep_ctrl = mpf & MidiPortControl;
|
||||
|
||||
vector<string> port_connections;
|
||||
AudioEngine::instance()->get_connections (port, port_connections);
|
||||
AudioEngine::instance()->get_connections (port, port_connections, false);
|
||||
|
||||
for (vector<string>::iterator i = port_connections.begin(); i != port_connections.end(); ++i) {
|
||||
|
||||
/* test if (*i) is a control-surface input port */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue