From: rkv Date: Wed, 4 Dec 2013 08:05:11 +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~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1dc9a4d8cf2be412a274b0a2a2625943da4837b0;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 798b9595..692c16ff 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -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();