Skip to content

Commit 518e439

Browse files
committed
ASE: project.cc: activate new tracks on creation if Project is active
Fixes tim-janik#69. Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
1 parent cf02566 commit 518e439

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ase/project.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,8 @@ ProjectImpl::create_track ()
818818
tracks_.insert (tracks_.end() - int (havemaster), track);
819819
emit_event ("track", "insert", { { "track", track }, });
820820
track->_set_parent (this);
821+
if (is_active())
822+
track->_activate();
821823
emit_notify ("all_tracks");
822824
return track;
823825
}

0 commit comments

Comments
 (0)