]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Disable color selector if transparent type is selected (Bug #230).
authoradv <adv@opencascade.com>
Fri, 13 Dec 2013 07:07:50 +0000 (07:07 +0000)
committeradv <adv@opencascade.com>
Fri, 13 Dec 2013 07:07:50 +0000 (07:07 +0000)
src/HYDROGUI/HYDROGUI_ColorDlg.cxx

index 5bc7f5fe87b0bed7f1e3239fb1b289e5c1fea505..bd5a3463e02adb86e32b2caa4443f381ef2668d1 100644 (file)
@@ -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
   {