Salome HOME
Splash screen was implemented. Changes in packages SUIT and Session are integrated.
[modules/gui.git] / src / Qtx / QtxPopupMenu.cxx
index f041f5db14cb3dc7fae61363ed1824aa98c85461..9abc1d47288165ee8406b1f34ca066abb3b0df9b 100644 (file)
@@ -61,7 +61,7 @@ void QtxPopupMenu::TitleMenuItem::paint( QPainter* p, const QColorGroup& cg,
   QFont f = p->font();
   p->setFont( myFont );
 
-  p->fillRect( x, y, w, h, cg.brush( QColorGroup::Mid ) );
+  p->fillRect( x, y, w, h, cg.brush( QColorGroup::Dark ) );
 
   p->setPen( cg.shadow() );
   p->drawRect( x, y, w, h );
@@ -216,6 +216,7 @@ void QtxPopupMenu::insertTitle()
   TitleMenuItem* item = createTitleItem( titleText(), titleIcon(), titleAlignment() );
 
   myId = insertItem( item, -1, 0 );
+  setItemEnabled( myId, false );
 }
 
 void QtxPopupMenu::removeTitle()