1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +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

@@ -797,7 +797,7 @@ bool AudacityApp::MRUOpen(const FilePath &fullPathStr) {
// there are no tracks, but there's an Undo history, etc, then
// bad things can happen, including data files moving to the NEW
// project directory, etc.
if (proj && (proj->GetDirty() || !proj->GetIsEmpty()))
if (proj && (proj->GetDirty() || !proj->GetTracks()->empty()))
proj = nullptr;
// This project is clean; it's never been touched. Therefore
// all relevant member variables are in their initial state,