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:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user