Skip to content

Commit

Permalink
Fix jumping map in canvas
Browse files Browse the repository at this point in the history
This would happen only with overview canvas visible. Found by Mathieu.

Replacing the forced repaint() call by more suitable update()
  • Loading branch information
wonder-sk committed Feb 10, 2015
1 parent fffd2fe commit d466870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapoverviewcanvas.cpp
Expand Up @@ -49,7 +49,7 @@ class QgsPanningWidget : public QWidget
if ( p == mPoly ) return;
mPoly = p;
setGeometry( p.boundingRect() );
repaint();
update();
}


Expand Down

0 comments on commit d466870

Please sign in to comment.