Skip to content

Commit

Permalink
ASE: project.cc: activate new tracks on creation if Project is active
Browse files Browse the repository at this point in the history
Fixes tim-janik#69.

Signed-off-by: Stefan Westerfeld <[email protected]>
  • Loading branch information
swesterfeld committed Jul 8, 2024
1 parent cf02566 commit 518e439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ase/project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,8 @@ ProjectImpl::create_track ()
tracks_.insert (tracks_.end() - int (havemaster), track);
emit_event ("track", "insert", { { "track", track }, });
track->_set_parent (this);
if (is_active())
track->_activate();
emit_notify ("all_tracks");
return track;
}
Expand Down

0 comments on commit 518e439

Please sign in to comment.