Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default to layer CRS in raster save as dialog (fix #14209)
(cherry-picked from 8fc4056)
  • Loading branch information
nyalldawson committed Mar 15, 2016
1 parent 8ca6cc7 commit 25ac01a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/qgsrasterlayersaveasdialog.cpp
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 25ac01a

Please sign in to comment.