Part Design: Fillet: Task: cleanup upon dialog rejection

This commit is contained in:
blobfish
2015-05-04 12:48:37 -04:00
committed by Stefan Tröger
parent 38de336ee0
commit 09e98d96cf
2 changed files with 3 additions and 0 deletions

View File

@@ -238,6 +238,7 @@ bool TaskDlgDressUpParameters::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()");
// Body housekeeping
PartDesign::Body* activeBody = Gui::Application::Instance->activeView()->getActiveObject<PartDesign::Body*>(PDBODYKEY);