mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-19 15:44:20 +01:00
Revert "Bug2605: Save-as should not cause original to repoen with warnings..."
This reverts commit 742134caaa.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user