mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
static TrackList::Get()...
... not member function of AudacityProject
This commit is contained in:
@@ -323,7 +323,7 @@ void ApplyMacroDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event))
|
||||
gPrefs->Flush();
|
||||
|
||||
AudacityProject *project = GetActiveProject();
|
||||
if (!project->GetTracks()->empty()) {
|
||||
if (!TrackList::Get( *project ).empty()) {
|
||||
AudacityMessageBox(_("Please save and close the current project first."));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user