From: rkv Date: Fri, 6 Dec 2013 05:30:05 +0000 (+0000) Subject: Fix for the bug #50: latitude should be defined first and than longitude. X-Git-Tag: BR_hydro_v_0_4~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=855e457c945d60d745784939ff11ae5776384acd;p=modules%2Fhydro.git Fix for the bug #50: latitude should be defined first and than longitude. --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx index 8ad7fb6b..0b63f5f4 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -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 );