mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
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:
parent
f827294b0b
commit
bc638c0496
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue