From 460cbc9dd1328ff824c005904a54409bc82aac41 Mon Sep 17 00:00:00 2001 From: rkv Date: Thu, 7 Nov 2013 13:57:38 +0000 Subject: [PATCH] Fix of crash when edit an existing image with reference image. --- src/HYDROGUI/HYDROGUI_Module.cxx | 2 +- src/HYDROGUI/resources/HYDROGUI_msg_en.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.2