diff --git a/src/gui/qgsmapcanvasitem.cpp b/src/gui/qgsmapcanvasitem.cpp index 1a25d4a5734..9468d08e1ef 100644 --- a/src/gui/qgsmapcanvasitem.cpp +++ b/src/gui/qgsmapcanvasitem.cpp @@ -78,10 +78,8 @@ void QgsMapCanvasItem::setRect( const QgsRectangle& rect ) r = r.normalized(); } - // update the point prior to changing its position - update(); - // set position in canvas where the item will have coordinate (0,0) + prepareGeometryChange(); setPos( r.topLeft() ); mItemSize = QSizeF( r.width() + 2, r.height() + 2 );