From 9b3f17b35a209f375b90eb6b1076619ea4370e6b Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 21 Aug 2013 10:15:20 +0000 Subject: [PATCH] Minor fix. --- src/HYDROGUI/HYDROGUI_PrsImage.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROGUI/HYDROGUI_PrsImage.cxx b/src/HYDROGUI/HYDROGUI_PrsImage.cxx index 4e8471e1..4c749d57 100644 --- a/src/HYDROGUI/HYDROGUI_PrsImage.cxx +++ b/src/HYDROGUI/HYDROGUI_PrsImage.cxx @@ -213,7 +213,8 @@ bool HYDROGUI_PrsImage::select( double theX, double theY, const QRectF& theRect void HYDROGUI_PrsImage::unselect() { HYDROGUI_Prs::unselect(); - myPrsImageFrame->updateVisibility(); + if( !myIsTransformationPointPreview ) + myPrsImageFrame->updateVisibility(); } //================================================================ @@ -223,7 +224,8 @@ void HYDROGUI_PrsImage::unselect() void HYDROGUI_PrsImage::setSelected( bool theState ) { HYDROGUI_Prs::setSelected( theState ); - myPrsImageFrame->updateVisibility(); + if( !myIsTransformationPointPreview ) + myPrsImageFrame->updateVisibility(); } //================================================================ -- 2.39.2