Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
invalidate first crs on project load (fixes #13011)
(cherry picked from commit fd4b38c)
  • Loading branch information
jef-n committed Jun 30, 2015
1 parent 07e9e0f commit 4d1d2ff
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 4d1d2ff

Please sign in to comment.