From 40d144b11bd156a0bd8d48f534ff6bb745d96da5 Mon Sep 17 00:00:00 2001 From: blobfish Date: Mon, 4 May 2015 13:02:09 -0400 Subject: [PATCH] Part Design: Datum Task: recompute document upon dialog rejections --- src/Mod/PartDesign/Gui/TaskDatumParameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp index d95282d43..538e9625e 100644 --- a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp @@ -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(PDBODYKEY); // Body housekeeping