Skip to content

Commit 8fc4056

Browse files
committed
Default to layer CRS in raster save as dialog (fix #14209)
1 parent 15d2be2 commit 8fc4056

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gui/qgsrasterlayersaveasdialog.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ QgsRasterLayerSaveAsDialog::QgsRasterLayerSaveAsDialog( QgsRasterLayer* rasterLa
119119
mTilesGroupBox->hide();
120120

121121
mCrsSelector->setLayerCrs( mLayerCrs );
122-
mCrsSelector->setCrs( mCurrentCrs );
122+
//default to layer CRS - see http://hub.qgis.org/issues/14209 for discussion
123+
mCrsSelector->setCrs( mLayerCrs );
124+
123125
connect( mCrsSelector, SIGNAL( crsChanged( QgsCoordinateReferenceSystem ) ),
124126
this, SLOT( crsChanged() ) );
125127

0 commit comments

Comments
 (0)