1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-23 11:47:24 +01:00

see #2475 hardcoding inactive highlight color "silver" for ObjectTreeView

This commit is contained in:
Vadim Kurland 2011-06-04 20:18:00 -07:00
parent cb71c53697
commit c808c4ab93

View File

@ -84,6 +84,11 @@ ObjectTreeView::ObjectTreeView(ProjectPanel* project,
this->setParent(parent, f);
setFont(st->getTreeFont());
QPalette updated_palette = palette();
updated_palette.setColor(
QPalette::Inactive, QPalette::Highlight, QColor("silver"));
setPalette(updated_palette);
setExpandsOnDoubleClick(false);
// setAcceptDrops( TRUE );