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:
parent
742134caaa
commit
47bdf27f2d
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user