+ fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it

This commit is contained in:
wmayer
2015-09-19 18:59:22 +02:00
parent 55916175d3
commit eb05da7cd7
6 changed files with 90 additions and 20 deletions

View File

@@ -1075,6 +1075,10 @@ bool Document::save (void)
// write additional files
writer.writeFiles();
if (writer.hasErrors()) {
throw Base::FileException("Failed to write all data to file", tmp);
}
GetApplication().signalSaveDocument(*this);
}