1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

Allow new empty project to be saved

This commit is contained in:
Steve Daulton 2018-01-22 11:52:14 +00:00
parent 76954f4bcd
commit 2890e4db27

View File

@ -2144,7 +2144,7 @@ CommandFlag AudacityProject::GetUpdateFlags(bool checkActive)
if((msClipT1 - msClipT0) > 0.0)
flags |= ClipboardFlag;
if (GetUndoManager()->UnsavedChanges())
if (GetUndoManager()->UnsavedChanges() || !IsProjectSaved())
flags |= UnsavedChangesFlag;
if (!mLastEffect.IsEmpty())