From: rkv Date: Thu, 5 Dec 2013 08:10:35 +0000 (+0000) Subject: Fix for the bug #42: point C is not activated, but point C is shown in preview in... X-Git-Tag: BR_hydro_v_0_4~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=978877b7ab963bc78412bfc96e021149a98b9c96;p=modules%2Fhydro.git Fix for the bug #42: point C is not activated, but point C is shown in preview in Transform image view. --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx index 30c6a9f9..8ad7fb6b 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -371,9 +371,24 @@ void HYDROGUI_ImportImageDlg::reset() // Emulate turning off C point usage myPointCEnabler->blockSignals( true ); - myPointCEnabler->setChecked( true ); + + myPointCEnabler->setChecked( false ); + myPointBtnMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointXDegMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointYDegMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointXMinMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointYMinMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointXSecMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myPointYSecMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myCartPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myCartPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myRefPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + myRefPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false ); + onSetCIsUsed( false ); + myPointCEnabler->blockSignals( false ); - myPointCEnabler->toggle(); myTransformGroup->setEnabled( false ); myRefImage->clear();