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

Remove a few small member functions from AudacityProject

This commit is contained in:
Paul Licameli
2019-03-27 04:29:30 -04:00
parent 69962f62d3
commit cfde442bcd
6 changed files with 6 additions and 27 deletions

View File

@@ -323,7 +323,7 @@ void ApplyMacroDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event))
gPrefs->Flush();
AudacityProject *project = GetActiveProject();
if (!project->GetIsEmpty()) {
if (!project->GetTracks()->empty()) {
AudacityMessageBox(_("Please save and close the current project first."));
return;
}