1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

TrackList has back-pointer to project...

... and Track::GetOwner() is publicized, so that now you can find the
the AudacityProject, if any, that owns a given Track; this will help eliminate
some uses of GetActiveProject
This commit is contained in:
Paul Licameli
2019-05-21 11:22:19 -04:00
parent c7984a2c83
commit a93c4472f5
10 changed files with 35 additions and 24 deletions

View File

@@ -12,7 +12,7 @@
wxDEFINE_EVENT( EVT_CLIPBOARD_CHANGE, wxCommandEvent);
Clipboard::Clipboard()
: mTracks { TrackList::Create() }
: mTracks { TrackList::Create( nullptr ) }
{
}