13
0

Make Timecode master connection order independent

When a user first connected a port to the Timecode master
input and then disconnected a previous port, the Timecode
master assumed it was not connected.
This commit is contained in:
Robin Gareus 2023-12-02 23:42:27 +01:00
parent dacf488c86
commit 4194313e4b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -182,11 +182,7 @@ TransportMaster::connection_handler (std::weak_ptr<ARDOUR::Port> w0, std::string
* not sufficient. But the user shouldn't do that ...
*/
if (yn) {
_connected = true;
} else {
_connected = false;
}
_connected = _port->connected ();
PropertyChanged (Properties::connected);
}