]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Set font of the Root Label the same as in Tree View
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 11 Nov 2015 16:17:04 +0000 (19:17 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 11 Nov 2015 16:17:04 +0000 (19:17 +0300)
src/XGUI/XGUI_ObjectsBrowser.cpp

index 5171a65c15a3c5091770b28ca5a1a5108ba882eb..c169228c2c5be89691e4827da64039aaf8237071 100644 (file)
@@ -234,6 +234,8 @@ XGUI_ActiveDocLbl::XGUI_ActiveDocLbl(const QString& theText, QWidget* theParent
 void XGUI_ActiveDocLbl::setTreeView(QTreeView* theView)
 {
   myTreeView = theView;
+  setFont(myTreeView->font());
+
   QPalette aPalet = myTreeView->palette();
   QColor aHighlight = aPalet.highlight().color();
   QColor aHighlightText = aPalet.highlightedText().color();