+ 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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user