From e309663df67edd0f460da7185be091a82f80f6a3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 14 Jan 2026 13:27:45 -0700 Subject: [PATCH] when MIDI port flags change, session bundles must be rebuilt --- libs/ardour/session.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 77914a8970..b599685f5b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -511,6 +511,8 @@ Session::Session (AudioEngine &eng, bool was_dirty = dirty(); + AudioEngine::instance()->MidiPortInfoChanged.connect_same_thread (*this, std::bind (&Session::setup_bundles, this)); + PresentationInfo::Change.connect_same_thread (*this, std::bind (&Session::notify_presentation_info_change, this, _1)); Config->ParameterChanged.connect_same_thread (*this, std::bind (&Session::config_changed, this, _1, false));