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:
parent
dacf488c86
commit
4194313e4b
@ -182,11 +182,7 @@ TransportMaster::connection_handler (std::weak_ptr<ARDOUR::Port> w0, std::string
|
|||||||
* not sufficient. But the user shouldn't do that ...
|
* not sufficient. But the user shouldn't do that ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (yn) {
|
_connected = _port->connected ();
|
||||||
_connected = true;
|
|
||||||
} else {
|
|
||||||
_connected = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
PropertyChanged (Properties::connected);
|
PropertyChanged (Properties::connected);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user