From 47bdf27f2d3ab66cd3f6e3372a74019d7059a66f Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 2 Dec 2020 12:39:35 -0500 Subject: [PATCH] Revert "Bug2605: Save-as should not cause original to repoen with warnings..." This reverts commit 742134caaa5813b6220a71d021a0279f45c0e7fe. --- src/ProjectFileIO.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ProjectFileIO.cpp b/src/ProjectFileIO.cpp index 658a0791d..ff8fa4ca8 100644 --- a/src/ProjectFileIO.cpp +++ b/src/ProjectFileIO.cpp @@ -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();