Automatic WB switching and Active PartDesign body

This commit is contained in:
jriegel
2012-05-05 17:10:52 +02:00
committed by Stefan Tröger
parent 5b23d06cfe
commit ee712eecf8
7 changed files with 28 additions and 9 deletions

View File

@@ -47,6 +47,7 @@ ViewProviderItemAssembly::~ViewProviderItemAssembly()
bool ViewProviderItemAssembly::doubleClicked(void)
{
Gui::Command::assureWorkbench("AssemblyWorkbench");
Gui::Command::doCommand(Gui::Command::Doc,"AssemblyGui.setActiveAssembly(App.activeDocument().%s)",this->getObject()->getNameInDocument());
return true;
}