Mark session dirty when changing external connections

This commit is contained in:
Robin Gareus 2025-10-06 19:48:01 +02:00
parent 94a4f6b350
commit b2a862971b
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -1004,6 +1004,10 @@ PortManager::connect_callback (const string& a, const string& b, bool conn)
}
}
if (!port_a && !port_b && Config->get_restore_hardware_connections () && !AudioEngine::instance ()->is_jack ()) {
AudioEngine::instance ()->session ()->set_dirty ();
}
PortConnectedOrDisconnected (
port_a, a,
port_b, b,