Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix map not refreshed after using pan to selected (fix #15324)
  • Loading branch information
nyalldawson committed Jul 26, 2016
1 parent 26160c9 commit 530a852
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -1103,6 +1103,7 @@ void QgsMapCanvas::panToSelected( QgsVectorLayer* layer )
if ( !rect.isNull() )
{
setCenter( rect.center() );
refresh();
}
else
{
Expand Down

0 comments on commit 530a852

Please sign in to comment.