Skip to content

Commit

Permalink
Default to layer CRS in raster save as dialog (fix #14209)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 15, 2016
1 parent 15d2be2 commit 8fc4056
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/qgsrasterlayersaveasdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ QgsRasterLayerSaveAsDialog::QgsRasterLayerSaveAsDialog( QgsRasterLayer* rasterLa
mTilesGroupBox->hide();

mCrsSelector->setLayerCrs( mLayerCrs );
mCrsSelector->setCrs( mCurrentCrs );
//default to layer CRS - see http://hub.qgis.org/issues/14209 for discussion
mCrsSelector->setCrs( mLayerCrs );

connect( mCrsSelector, SIGNAL( crsChanged( QgsCoordinateReferenceSystem ) ),
this, SLOT( crsChanged() ) );

Expand Down

0 comments on commit 8fc4056

Please sign in to comment.