1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

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

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();