1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-31 19:44:54 +02:00

Bug2529: don't lose data when closing without saving on small drive (#650)

This commit is contained in:
Paul Licameli
2020-08-28 14:03:35 -04:00
committed by GitHub
parent 29f3361746
commit 1bb34e703e
5 changed files with 33 additions and 14 deletions

View File

@@ -733,7 +733,7 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
// SetMenuBar(NULL);
// Compact the project.
projectFileManager.CompactProject();
projectFileManager.CompactProjectOnClose();
// Set (or not) the bypass flag to indicate that deletes that would happen during
// the UndoManager::ClearStates() below are not necessary.