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:
@@ -12,7 +12,7 @@
|
||||
wxDEFINE_EVENT( EVT_CLIPBOARD_CHANGE, wxCommandEvent);
|
||||
|
||||
Clipboard::Clipboard()
|
||||
: mTracks { TrackList::Create() }
|
||||
: mTracks { TrackList::Create( nullptr ) }
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user