1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

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

View File

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