1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02: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

@@ -408,7 +408,7 @@ void OnTimerRecord(const CommandContext &context)
// preventing issues surrounding "dirty" projects when Automatic Save/Export
// is used in Timer Recording.
if ((undoManager.UnsavedChanges()) &&
(project.ProjectHasTracks() || project.EmptyCanBeDirty())) {
(project.GetTracks()->Any() || project.EmptyCanBeDirty())) {
AudacityMessageBox(_("Timer Recording cannot be used while you have unsaved changes.\n\nPlease save or close this project and try again."),
_("Timer Recording"),
wxICON_INFORMATION | wxOK);