mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 00:50:05 +02:00
Bug 2632 - Original project isn't compacted when doing Save As
This commit is contained in:
parent
e67fcd6aba
commit
b5ee77f737
@ -2207,7 +2207,7 @@ bool ProjectFileIO::SaveProject(
|
|||||||
|
|
||||||
// Try to compact the original project file
|
// Try to compact the original project file
|
||||||
auto empty = TrackList::Create(&mProject);
|
auto empty = TrackList::Create(&mProject);
|
||||||
Compact( { lastSaved ? lastSaved : empty.get() } );
|
Compact( { lastSaved ? lastSaved : empty.get() }, true );
|
||||||
|
|
||||||
// Save to close the original project file now
|
// Save to close the original project file now
|
||||||
CloseProject();
|
CloseProject();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user