From: vsr Date: Mon, 11 Oct 2010 10:27:05 +0000 (+0000) Subject: Rollback previous change for color button; there was a regression - arrow is not... X-Git-Tag: V5_1_5rc1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=198eb5df0bb39b40d392db4f0fe3267bd963c058;p=modules%2Fgui.git Rollback previous change for color button; there was a regression - arrow is not drawn correctly. --- diff --git a/src/Qtx/QtxColorButton.cxx b/src/Qtx/QtxColorButton.cxx index 173516dae..635647d6c 100644 --- a/src/Qtx/QtxColorButton.cxx +++ b/src/Qtx/QtxColorButton.cxx @@ -54,7 +54,7 @@ QtxColorButton::QtxColorButton( QWidget* parent ) : QToolButton( parent ) { setCheckable( false ); - setPopupMode( InstantPopup ); + setPopupMode( MenuButtonPopup ); // VSR 11/10/2010 temporarily roolback from InstantPopup (regressions) QMenu* pm = new QMenu( this ); QGridLayout* grid = new QGridLayout( pm );