Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refresh canvas when panning map to selected rows
  • Loading branch information
tudorbarascu authored and m-kuhn committed Feb 3, 2017
1 parent 82060f4 commit fc24332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -1142,6 +1142,7 @@ void QgsMapCanvas::panToSelected( QgsVectorLayer* layer )
if ( !rect.isNull() )
{
setCenter( rect.center() );
refresh();
}
else
{
Expand Down

0 comments on commit fc24332

Please sign in to comment.