Skip to content

Commit

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

0 comments on commit b9f968d

Please sign in to comment.