create transport master in the factory method if the engine is running

This fixes the GUI thinking there is no port because it is notified about the TM before the port
is created
This commit is contained in:
Paul Davis 2020-03-10 11:56:00 -06:00
parent f827294b0b
commit bc638c0496

View file

@ -401,6 +401,9 @@ TransportMaster::factory (SyncSource type, std::string const& name, bool removea
}
if (tm) {
if (AudioEngine::instance()->running()) {
tm->create_port ();
}
tm->set_removeable (removeable);
}