mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
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…
x
Reference in New Issue
Block a user