Part: Attacher: fix blocking error message

fix #3662
for now, just allow accepting attachment even if attachment is faulty
This commit is contained in:
DeepSOIC
2018-11-02 17:35:48 +03:00
committed by Yorik van Havre
parent 0a667889a0
commit 195c492993

View File

@@ -1050,9 +1050,6 @@ bool TaskDlgAttacher::accept()
Gui::Command::doCommand(Gui::Command::Doc,"%s.recompute()", appDocument.c_str());
if (!ViewProvider->getObject()->isValid())
throw Base::RuntimeError(ViewProvider->getObject()->getStatusString());
Gui::Command::doCommand(Gui::Command::Gui, "%s.resetEdit()", guiDocument.c_str());
document->commitCommand();
}