mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
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:
parent
fffd2fea0a
commit
d4668707b0
@ -49,7 +49,7 @@ class QgsPanningWidget : public QWidget
|
||||
if ( p == mPoly ) return;
|
||||
mPoly = p;
|
||||
setGeometry( p.boundingRect() );
|
||||
repaint();
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user