Gui: fix active object highlight
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Gui
|
||||
return dynamic_cast<_T>(getObject(it->second,true,parent,subname));
|
||||
}
|
||||
void setObject(App::DocumentObject*, const char*, const char *subname=0,
|
||||
const Gui::HighlightMode& m = Gui::LightBlue);
|
||||
const Gui::HighlightMode& m = Gui::UserDefined);
|
||||
bool hasObject(const char*)const;
|
||||
void objectDeleted(const ViewProviderDocumentObject& viewProviderIn);
|
||||
bool hasObject(App::DocumentObject *obj, const char *, const char *subname=0) const;
|
||||
|
||||
@@ -4407,6 +4407,7 @@ void DocumentObjectItem::setHighlight(bool set, Gui::HighlightMode high) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
this->setFont(0,f);
|
||||
}
|
||||
|
||||
const char *DocumentObjectItem::getTreeName() const {
|
||||
|
||||
Reference in New Issue
Block a user