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 28, 2016
1 parent f052eda commit cc3d3f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
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 cc3d3f7

Please sign in to comment.