Salome HOME
Icons are shown in the object browser tree.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_TwoImagesDlg.cxx
index 1ba4a66897f3d1fd30992ee7251faaa36805bd3e..44b0283ea9cdc0fa9e429102a5e9b6e9b0d54f22 100644 (file)
@@ -97,6 +97,8 @@ HYDROGUI_TwoImagesDlg::HYDROGUI_TwoImagesDlg( HYDROGUI_Module* theModule, const
 
   connect( myModifySelectedImage, SIGNAL( toggled( bool ) ),
            this, SLOT( onModifySelectedImage( bool ) ) );
+  connect( myTransparent, SIGNAL( toggled( bool ) ), 
+    myColorBox, SLOT( setDisabled( bool ) ) );
 
   setMode( myMode, myIsEdit );
 }
@@ -114,6 +116,7 @@ void HYDROGUI_TwoImagesDlg::reset()
   myPolyline->Clear();
   myTransparent->setChecked( true );
   myColorBox->resetColor();
+  myColorBox->setDisabled( true );
 }
 
 void HYDROGUI_TwoImagesDlg::setMode( const int theMode, const bool theIsEdit )