]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix for the bug #44: Fuse, Cut and Split - disable color button for Transparent Backg...
authorrkv <rkv@opencascade.com>
Fri, 29 Nov 2013 06:29:44 +0000 (06:29 +0000)
committerrkv <rkv@opencascade.com>
Fri, 29 Nov 2013 06:29:44 +0000 (06:29 +0000)
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 )