Skip to content
Permalink
Browse files

invalidate first crs on project load (fixes #13011)

(cherry picked from commit fd4b38c)
  • Loading branch information
jef-n committed Jun 23, 2015
1 parent 07e9e0f commit 4d1d2ffc4d27f08926e68c05c43c5c04e5463b18
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/layertree/qgslayertreemapcanvasbridge.cpp
@@ -193,6 +193,8 @@ void QgsLayerTreeMapCanvasBridge::setCanvasLayers()

void QgsLayerTreeMapCanvasBridge::readProject( const QDomDocument& doc )
{
mFirstCRS = QgsCoordinateReferenceSystem(); // invalidate on project load

QDomElement elem = doc.documentElement().firstChildElement( "layer-tree-canvas" );
if ( elem.isNull() )
{

0 comments on commit 4d1d2ff

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