From: ouv Date: Wed, 21 Aug 2013 10:15:20 +0000 (+0000) Subject: Minor fix. X-Git-Tag: BR_hydro_v_0_1~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b3f17b35a209f375b90eb6b1076619ea4370e6b;hp=df03ea9aaf89174b8faa08eee7a371286c751a3e;p=modules%2Fhydro.git Minor fix. --- 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(); } //================================================================