Skip to content

Commit c9b3a3a

Browse files
author
homann
committed
Fixed browsing/testing of custom projections
git-svn-id: http://svn.osgeo.org/qgis/trunk@5935 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 65029d9 commit c9b3a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgscustomprojectiondialog.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ void QgsCustomProjectionDialog::on_pbnNext_clicked()
570570
//cboProjectionFamily->setCurrentText(getProjectionFamilyName(myProjectionFamilyId));
571571
//QString myEllipsoidId = QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,3));
572572
//cboEllipsoid->setCurrentText(getEllipsoidName(myEllipsoidId));
573-
//leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
573+
leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
574574
++mCurrentRecordLong;
575575
lblRecordNo->setText(QString::number(mCurrentRecordLong) + " of " + QString::number(mRecordCountLong));
576576
}
@@ -927,7 +927,7 @@ void QgsCustomProjectionDialog::on_pbnCalculate_clicked()
927927

928928
double z = 0.0;
929929

930-
int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &northing, &easthing, &z);
930+
int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &easthing, &northing, &z);
931931
if ( projResult != 0 )
932932
{
933933
projectedX->setText("Error");

0 commit comments

Comments
 (0)