1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

AUP3: UP-35 Dirty Project-2 bloat retention

Add compaction to SaveProject for the original file.
This commit is contained in:
Leland Lucius
2020-07-27 23:16:27 -05:00
parent f3293fd102
commit 09f7aaad5b
3 changed files with 9 additions and 10 deletions

View File

@@ -148,7 +148,7 @@ auto ProjectFileManager::ReadProjectFile( const FilePath &fileName )
if (!projectFileIO.IsTemporary())
{
projectFileIO.SaveProject(fileName);
projectFileIO.SaveProject(fileName, nullptr);
resaved = true;
}
@@ -302,7 +302,7 @@ bool ProjectFileManager::DoSave(const FilePath & fileName, const bool fromSaveAs
}
}
bool success = projectFileIO.SaveProject(fileName);
bool success = projectFileIO.SaveProject(fileName, mLastSavedTracks);
if (!success)
{
AudacityMessageBox(