Skip to content
Permalink
Browse files

Fix jumping map in canvas

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 d4668707b03bb360e16c30826345ec640aa7e5df
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmapoverviewcanvas.cpp
@@ -49,7 +49,7 @@ class QgsPanningWidget : public QWidget
if ( p == mPoly ) return;
mPoly = p;
setGeometry( p.boundingRect() );
repaint();
update();
}


0 comments on commit d466870

Please sign in to comment.
You can’t perform that action at this time.