Fix some build and runtime failures

This commit is contained in:
wmayer
2013-01-03 20:46:17 +01:00
committed by Stefan Tröger
parent 6dec685ba7
commit 7d03751e57
2 changed files with 2 additions and 0 deletions

View File

@@ -161,6 +161,7 @@ void Workbench::deactivated()
else
oldActive = "";
// reset the active Body
Gui::Command::doCommand(Gui::Command::Doc,"import PartDesignGui");
Gui::Command::doCommand(Gui::Command::Doc,"PartDesignGui.setActivePart(None)");
Gui::Workbench::deactivated();