Part Design: Datum Task: recompute document upon dialog rejections

This commit is contained in:
blobfish 2015-05-04 13:02:09 -04:00 committed by Stefan Tröger
parent e826e7a683
commit 40d144b11b

View File

@ -748,6 +748,7 @@ bool TaskDlgDatumParameters::reject()
// roll back the done things
Gui::Command::abortCommand();
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()");
PartDesign::Body* activeBody = Gui::Application::Instance->activeView()->getActiveObject<PartDesign::Body*>(PDBODYKEY);
// Body housekeeping