mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
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 */
|
/* connect it to the new target */
|
||||||
new_midi_target->input()->connect (new_midi_target->input()->nth(0), (*p), this);
|
new_midi_target->input()->connect (new_midi_target->input()->nth(0), (*p), this);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue