]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix of crash when edit an existing image with reference image.
authorrkv <rkv@opencascade.com>
Thu, 7 Nov 2013 13:57:38 +0000 (13:57 +0000)
committerrkv <rkv@opencascade.com>
Thu, 7 Nov 2013 13:57:38 +0000 (13:57 +0000)
src/HYDROGUI/HYDROGUI_Module.cxx
src/HYDROGUI/resources/HYDROGUI_msg_en.ts

index 55d875bca3a1fb68b26498636ad99fe564200eca..b36585e22f5de3e928030780271e0b060830d6c4 100644 (file)
@@ -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 );
index 22fdedc0d8812ba785830cc67cebd6454f1fd6f6..460a6f2231d81b1c650875e5c0bd0e6cdf3bb6bb 100644 (file)
@@ -269,11 +269,11 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
     </message>
     <message>
       <source>MANUALLY_GEODESIC</source>
-      <translation>Manually input Geodesic coordinates</translation>
+      <translation>Manually input Geographic coordinates</translation>
     </message>
     <message>
       <source>MANUALLY_LAMBERT93</source>
-      <translation>Manually input Lambert93 coordinates</translation>
+      <translation>Manually input Plane coordinates (Lambert93)</translation>
     </message>
     <message>
       <source>IMAGE_CS</source>
@@ -281,11 +281,11 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
     </message>
     <message>
       <source>GEODESIC</source>
-      <translation>Geodesic</translation>
+      <translation>Geographic coordinates</translation>
     </message>
     <message>
       <source>LAMBERT93</source>
-      <translation>Lambert93</translation>
+      <translation>Plane coordinates (Lambert93)</translation>
     </message>
     <message>
       <source>REFERENCE_IMAGE_CS</source>