Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #9396 (datum transform in save as dialog)
  • Loading branch information
wonder-sk committed Feb 25, 2014
1 parent 71a799f commit 0310bb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -4632,8 +4632,9 @@ void QgisApp::saveAsVectorFileGeneral( bool saveOnlySelection, QgsVectorLayer* v
ct = new QgsCoordinateTransform( vlayer->crs(), destCRS );

//ask user about datum transformation
QSettings settings;
QList< QList< int > > dt = QgsCoordinateTransform::datumTransformations( vlayer->crs(), destCRS );
if ( dt.size() > 1 )
if ( dt.size() > 1 && settings.value( "/Projections/showDatumTransformDialog", false ).toBool() )
{
QgsDatumTransformDialog d( vlayer->name(), dt );
if ( d.exec() == QDialog::Accepted )
Expand Down

0 comments on commit 0310bb2

Please sign in to comment.