Bug 2632 - Original project isn't compacted when doing Save As

This commit is contained in:
Leland Lucius 2021-01-20 22:39:19 -06:00
parent e67fcd6aba
commit b5ee77f737
1 changed files with 1 additions and 1 deletions

View File

@ -2207,7 +2207,7 @@ bool ProjectFileIO::SaveProject(
// Try to compact the original project file
auto empty = TrackList::Create(&mProject);
Compact( { lastSaved ? lastSaved : empty.get() } );
Compact( { lastSaved ? lastSaved : empty.get() }, true );
// Save to close the original project file now
CloseProject();