]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix for the bug #42: point C is not activated, but point C is shown in preview in...
authorrkv <rkv@opencascade.com>
Wed, 4 Dec 2013 08:05:11 +0000 (08:05 +0000)
committerrkv <rkv@opencascade.com>
Wed, 4 Dec 2013 08:05:11 +0000 (08:05 +0000)
src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx

index 798b95955e26d139e2e894d290daef98a2c9b822..692c16fffb3224a7dc61d5225fd6f4a00ae2c3b6 100644 (file)
@@ -368,8 +368,13 @@ void HYDROGUI_ImportImageDlg::reset()
     myCartPointXMap[ aPointType ]->clear();
     myCartPointYMap[ aPointType ]->clear();
   }
+  
+  // Emulate turning off C point usage
+  myPointCEnabler->blockSignals( true );
   myPointCEnabler->setChecked( true );
+  myPointCEnabler->blockSignals( false );
   myPointCEnabler->toggle();
+  
   myTransformGroup->setEnabled( false );
   myRefImage->clear();