]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix for the bug #50: latitude should be defined first and than longitude.
authorrkv <rkv@opencascade.com>
Fri, 6 Dec 2013 05:30:05 +0000 (05:30 +0000)
committerrkv <rkv@opencascade.com>
Fri, 6 Dec 2013 05:30:05 +0000 (05:30 +0000)
src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx

index 8ad7fb6b57f47b38926e1b81794f6445dc0fcaa1..0b63f5f45c84d6b108c42d302c1bb0eafab47c62 100644 (file)
@@ -181,7 +181,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co
     myGeodesicLabels << aPointXDegLabel << aPointYDegLabel
                     << aPointXMinLabel << aPointYMinLabel
                     << aPointXSecLabel << aPointYSecLabel
-                    << aPointLatLabel << aPointLonLabel;
+                    << aPointLonLabel << aPointLatLabel;
 
     QtxIntSpinBox* aPointXDeg = new QtxIntSpinBox( -179, 179, 1, myTransformGroup );
     QtxIntSpinBox* aPointYDeg = new QtxIntSpinBox( 0, 89, 1, myTransformGroup );
@@ -217,7 +217,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co
     aTransformLayout->addWidget( aPointXMinLabel,  aRow + 1, 6 );
     aTransformLayout->addWidget( aPointXSec,       aRow + 1, 7 );
     aTransformLayout->addWidget( aPointXSecLabel,  aRow + 1, 8 );
-    aTransformLayout->addWidget( aPointLatLabel,   aRow + 1, 9 );
+    aTransformLayout->addWidget( aPointLonLabel,   aRow + 1, 9 );
 
     aTransformLayout->addWidget( aCartPointX,      aRow + 1, 3, 1, 6 );
     aTransformLayout->addWidget( aRefPointX,       aRow + 1, 3, 1, 6 );
@@ -230,7 +230,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co
     aTransformLayout->addWidget( aPointYMinLabel,  aRow + 2, 6 );
     aTransformLayout->addWidget( aPointYSec,       aRow + 2, 7 );
     aTransformLayout->addWidget( aPointYSecLabel,  aRow + 2, 8 );
-    aTransformLayout->addWidget( aPointLonLabel,   aRow + 2, 9 );
+    aTransformLayout->addWidget( aPointLatLabel,   aRow + 2, 9 );
 
     aTransformLayout->addWidget( aCartPointY,      aRow + 2, 3, 1, 6 );
     aTransformLayout->addWidget( aRefPointY,       aRow + 2, 3, 1, 6 );