]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Improve color button look-n-feel
authorvsr <vsr@opencascade.com>
Tue, 20 Jul 2010 10:17:46 +0000 (10:17 +0000)
committervsr <vsr@opencascade.com>
Tue, 20 Jul 2010 10:17:46 +0000 (10:17 +0000)
src/Qtx/QtxColorButton.cxx

index af9a76673ec65f28a719ba871cd9c1ae4f3eb92b..173516daed45d7bc81da08a9504d3672ea4ec779 100644 (file)
@@ -54,7 +54,7 @@ QtxColorButton::QtxColorButton( QWidget* parent )
 : QToolButton( parent )
 {
   setCheckable( false );
-  setPopupMode( MenuButtonPopup );
+  setPopupMode( InstantPopup );
 
   QMenu* pm = new QMenu( this );
   QGridLayout* grid = new QGridLayout( pm );