updating to setActiveObject call

This commit is contained in:
blobfish
2015-04-29 10:17:22 -04:00
committed by Stefan Tröger
parent 547b1e0191
commit b7735098ba
3 changed files with 5 additions and 5 deletions

View File

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