From: rkv Date: Thu, 7 Nov 2013 13:57:38 +0000 (+0000) Subject: Fix of crash when edit an existing image with reference image. X-Git-Tag: BR_hydro_v_0_3~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=460cbc9dd1328ff824c005904a54409bc82aac41;p=modules%2Fhydro.git Fix of crash when edit an existing image with reference image. --- diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 55d875bc..b36585e2 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -649,7 +649,7 @@ void HYDROGUI_Module::customEvent( QEvent* e ) //aViewPort->setViewLabelPosition( GraphicsView_ViewPort::VLP_BottomLeft, true ); } - if( aRole != VMR_TransformImage ) + if( aRole != VMR_TransformImage && aRole != VMR_ReferenceImage ) update( UF_Viewer ); aViewer->activateTransform( GraphicsView_Viewer::FitAll ); diff --git a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts index 22fdedc0..460a6f22 100644 --- a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts +++ b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts @@ -269,11 +269,11 @@ file cannot be correctly imported for a Bathymetry definition. MANUALLY_GEODESIC - Manually input Geodesic coordinates + Manually input Geographic coordinates MANUALLY_LAMBERT93 - Manually input Lambert93 coordinates + Manually input Plane coordinates (Lambert93) IMAGE_CS @@ -281,11 +281,11 @@ file cannot be correctly imported for a Bathymetry definition. GEODESIC - Geodesic + Geographic coordinates LAMBERT93 - Lambert93 + Plane coordinates (Lambert93) REFERENCE_IMAGE_CS