Skip to content
Permalink
Browse files

Fix model component size corruption when resizing to 'negative' sizes

  • Loading branch information
nyalldawson committed Mar 17, 2020
1 parent 06e663e commit 54ff93726ccf6677198bf59f5f358eff135e08fb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/processing/models/qgsmodelcomponentgraphicitem.cpp
@@ -148,6 +148,7 @@ void QgsModelComponentGraphicItem::setItemRect( QRectF )

void QgsModelComponentGraphicItem::previewItemRectChange( QRectF rect )
{
rect = rect.normalized();
setPos( rect.center() );
prepareGeometryChange();
mTempSize = rect.size();

0 comments on commit 54ff937

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