1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-28 06:08:40 +02:00

Allow user cancellation of save

This commit is contained in:
Paul Licameli 2017-10-20 19:04:03 -04:00
parent d7d7d67f7c
commit 39a5669cb9

View File

@ -553,7 +553,9 @@ bool DirManager::SetProject(wxString& newProjPath, wxString& newProjName, const
success = MoveToNewProjectDirectory( &*b );
}
progress.Update(count, total);
if( progress.Update(count, total) != ProgressResult::Success )
success = false;
count++;
}
++iter;