From f1dfc6d2a2f670a7b24644f3377962ac214b3419 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 4 Mar 2019 18:23:06 -0700 Subject: [PATCH] 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 --- libs/ardour/session_midi.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index d7ae764955..4d1653b7f7 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -756,8 +756,6 @@ Session::rewire_selected_midi (boost::shared_ptr new_midi_target) } for (vector::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); }