Skip to content
Permalink
Browse files

Fix loss of CRS customisation when opening raster properties window

  • Loading branch information
nyalldawson committed May 15, 2020
1 parent 999ae58 commit 655531df20d357b03783f802ef304d7d7c160748
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/raster/qgsrasterlayerproperties.cpp
@@ -1153,6 +1153,8 @@ void QgsRasterLayerProperties::apply()
// Update temporal properties
mTemporalWidget->saveTemporalProperties();

mRasterLayer->setCrs( mCrsSelector->crs() );

//get the thumbnail for the layer
QPixmap thumbnail = QPixmap::fromImage( mRasterLayer->previewAsImage( pixmapThumbnail->size() ) );
pixmapThumbnail->setPixmap( thumbnail );

0 comments on commit 655531d

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