We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0c09a41 commit a953fa1Copy full SHA for a953fa1
src/gui/qgsmapcanvasitem.cpp
@@ -78,10 +78,8 @@ void QgsMapCanvasItem::setRect( const QgsRectangle& rect )
78
r = r.normalized();
79
}
80
81
- // update the point prior to changing its position
82
- update();
83
-
84
// set position in canvas where the item will have coordinate (0,0)
+ prepareGeometryChange();
85
setPos( r.topLeft() );
86
mItemSize = QSizeF( r.width() + 2, r.height() + 2 );
87
0 commit comments