Fixed bug that prevented proper switching to PartDesign workbench

This commit is contained in:
jrheinlaender
2013-08-23 14:48:01 +02:00
committed by Stefan Tröger
parent c21f21666f
commit 92d51a6e1d
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ bool ViewProviderBody::doubleClicked(void)
// assure the PartDesign workbench
Gui::Command::assureWorkbench("PartDesignWorkbench");
Gui::Command::addModule(Gui::Command::Gui,"PartDesignGui");
Gui::Command::doCommand(Gui::Command::Doc,"PartDesignGui.setActivePart(App.activeDocument().%s)",this->getObject()->getNameInDocument());
Gui::Command::doCommand(Gui::Command::Gui,"PartDesignGui.setActivePart(App.activeDocument().%s)",this->getObject()->getNameInDocument());
return true;
}