1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 08:40:27 +02:00

Revert "Bug2605: Save-as should not cause original to repoen with warnings..."

This reverts commit 742134caaa5813b6220a71d021a0279f45c0e7fe.
This commit is contained in:
Paul Licameli 2020-12-02 12:39:35 -05:00
parent 742134caaa
commit 47bdf27f2d

View File

@ -2123,11 +2123,7 @@ bool ProjectFileIO::SaveProject(
// Try to compact the original project file
auto empty = TrackList::Create(&mProject);
Compact( { lastSaved ? lastSaved : empty.get() },
// Bug 2605: force compaction of the original when saving-as,
// so that the original does not reopen with orphan blocks,
// causing warning dialogs about improper save
true );
Compact( { lastSaved ? lastSaved : empty.get() } );
// Save to close the original project file now
CloseProject();