Add highlighting of tree view items

This commit is contained in:
jriegel
2012-03-04 21:27:13 +01:00
committed by Stefan Tröger
parent 9b5f9b8e58
commit fd000dff8a
6 changed files with 41 additions and 23 deletions

View File

@@ -27,8 +27,8 @@
#endif
#include "ViewProviderAssembly.h"
//#include <Gui/Command.h>
//#include <Gui/Document.h>
#include <Gui/Command.h>
#include <Gui/Document.h>
using namespace AssemblyGui;
@@ -44,6 +44,7 @@ ViewProviderItemAssembly::~ViewProviderItemAssembly()
bool ViewProviderItemAssembly::doubleClicked(void)
{
Gui::Command::doCommand(Gui::Command::Doc,"AssemblyGui.setActiveAssembly(App.activeDocument().%s)",this->getObject()->getNameInDocument());
return true;
}