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()
This commit is contained in:
Martin Dobias 2015-02-10 19:35:09 +07:00
parent fffd2fea0a
commit d4668707b0

View File

@ -49,7 +49,7 @@ class QgsPanningWidget : public QWidget
if ( p == mPoly ) return;
mPoly = p;
setGeometry( p.boundingRect() );
repaint();
update();
}