From 1dc9a4d8cf2be412a274b0a2a2625943da4837b0 Mon Sep 17 00:00:00 2001 From: rkv Date: Wed, 4 Dec 2013 08:05:11 +0000 Subject: [PATCH] Fix for the bug #42: point C is not activated, but point C is shown in preview in Transform image view. --- src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.39.2