diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index 5bced7547b..3079939e7d 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -1180,6 +1180,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; }