A status return check on ProjectFileIO::SaveProject

This commit is contained in:
Paul Licameli 2020-12-06 20:50:31 -05:00
parent 046ae403ba
commit a9d555bf16
1 changed files with 3 additions and 2 deletions

View File

@ -163,8 +163,9 @@ auto ProjectFileManager::ReadProjectFile(
if (!projectFileIO.IsTemporary())
{
projectFileIO.SaveProject(fileName, nullptr);
resaved = true;
// Re-save non-temporary project to its own path. This
// might fail to update the document blob in the database.
resaved = projectFileIO.SaveProject(fileName, nullptr);
}
AudacityMessageBox(