Skip to content

Commit

Permalink
project extent restore fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 20, 2014
1 parent 797de34 commit b385467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b385467

Please sign in to comment.