From ce619ef1370f727eac2f763b9b25111fa01233e5 Mon Sep 17 00:00:00 2001 From: adv Date: Fri, 13 Dec 2013 07:07:50 +0000 Subject: [PATCH] Disable color selector if transparent type is selected (Bug #230). --- src/HYDROGUI/HYDROGUI_ColorDlg.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.30.2