Skip to content
Permalink
Browse files

Fix #9396 (datum transform in save as dialog)

  • Loading branch information
wonder-sk committed Feb 25, 2014
1 parent 71a799f commit 0310bb2463c3ce2b9b2d928e772f78b4addc772d
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -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 )

0 comments on commit 0310bb2

Please sign in to comment.
You can’t perform that action at this time.