From: adv Date: Fri, 13 Dec 2013 07:07:50 +0000 (+0000) Subject: Disable color selector if transparent type is selected (Bug #230). X-Git-Tag: BR_hydro_v_0_5~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce619ef1370f727eac2f763b9b25111fa01233e5;p=modules%2Fhydro.git Disable color selector if transparent type is selected (Bug #230). --- diff --git a/src/HYDROGUI/HYDROGUI_ColorDlg.cxx b/src/HYDROGUI/HYDROGUI_ColorDlg.cxx index 5bc7f5fe..bd5a3463 100644 --- a/src/HYDROGUI/HYDROGUI_ColorDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ColorDlg.cxx @@ -71,6 +71,9 @@ HYDROGUI_ColorDlg::HYDROGUI_ColorDlg( QWidget* theParent, bool theIsOneColor ) aMainLayout->addWidget( aFillingFrame ); aMainLayout->addWidget( myBorderColorGroup ); + + connect( myFillingTransparent, SIGNAL( toggled( bool ) ), + myFillingColorBox, SLOT( setDisabled( bool ) ) ); } else {