do not disconnect MidiPortSelection-flagged ports from everything when (MIDI track) selection changes
If the user manually connects such a port to something, then it is up the user to disconnect it too
This commit is contained in:
parent
2cf57e9257
commit
f1dfc6d2a2
@ -756,8 +756,6 @@ Session::rewire_selected_midi (boost::shared_ptr<MidiTrack> new_midi_target)
|
||||
}
|
||||
|
||||
for (vector<string>::const_iterator p = msp.begin(); p != msp.end(); ++p) {
|
||||
/* disconnect the port from everything */
|
||||
AudioEngine::instance()->disconnect (*p);
|
||||
/* connect it to the new target */
|
||||
new_midi_target->input()->connect (new_midi_target->input()->nth(0), (*p), this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user