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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user