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
@ -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…
Reference in New Issue
Block a user