updating to setActiveObject call
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user