diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index 16c4fa5836..534a02c951 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -1161,6 +1161,7 @@ bool Document::save(void) catch (const Base::Exception& e) { QMessageBox::critical(getMainWindow(), QObject::tr("Saving document failed"), QString::fromLatin1(e.what())); + return false; } return true; }