Skip to content
Permalink
Browse files
project extent restore fix
  • Loading branch information
blazek committed May 20, 2014
1 parent 797de34 commit b3854676797cc4890c260ab68df9faeb0bc1bb67
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmapcanvas.cpp
@@ -1616,9 +1616,9 @@ void QgsMapCanvas::readProject( const QDomDocument & doc )
QgsMapSettings tmpSettings;
tmpSettings.readXML( node );
setMapUnits( tmpSettings.mapUnits() );
setExtent( tmpSettings.extent() );
setCrsTransformEnabled( tmpSettings.hasCrsTransformEnabled() );
setDestinationCrs( tmpSettings.destinationCrs() );
setExtent( tmpSettings.extent() );
// TODO: read only units, extent, projections, dest CRS

clearExtentHistory(); // clear the extent history on project load

0 comments on commit b385467

Please sign in to comment.