Skip to content

Commit

Permalink
Use a more appropriate QgsRect modify function
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5289 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 16, 2006
1 parent 4fabdaa commit 870c61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Expand Up @@ -515,7 +515,7 @@ void QgsMapCanvas::zoomToSelected()
{
// Expand rect to give a bit of space around the selected
// objects so as to keep them clear of the map boundaries
rect.expand(1.1);
rect.scale(1.1);
setExtent(rect);
refresh();
return;
Expand Down

0 comments on commit 870c61a

Please sign in to comment.