A status return check on ProjectFileIO::SaveProject
This commit is contained in:
parent
046ae403ba
commit
a9d555bf16
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue