Part Design: Workbench: don't try to remove active body

This commit is contained in:
blobfish 2015-04-29 21:11:42 -04:00 committed by Stefan Tröger
parent baa0fa97b9
commit d90fec4de1

View File

@ -682,7 +682,6 @@ void Workbench::deactivated()
removeTaskWatcher();
// reset the active Body
Gui::Command::doCommand(Gui::Command::Doc,"import PartDesignGui");
Gui::Command::doCommand(Gui::Command::Gui, "Gui.activeView().setActiveObject('Body',App.activeDocument().%s)", "None");
Gui::Workbench::deactivated();