Skip to content

Commit

Permalink
invalidate first crs on project load (fixes #13011)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 23, 2015
1 parent 7031cfb commit fd4b38c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/layertree/qgslayertreemapcanvasbridge.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit fd4b38c

Please sign in to comment.