From 603d80e1a5b16727b2179852a65d6119d1ab6096 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Fri, 18 Jan 2019 23:44:58 +0300 Subject: [PATCH] Geometry change event has been reverted --- limereport/lrbasedesignintf.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index 39de032..610bd5f 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -1126,6 +1126,12 @@ void BaseDesignIntf::setItemPos(const QPointF &newPos) void BaseDesignIntf::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { QGraphicsItem::mouseReleaseEvent(event); + QRectF newGeometry = geometry(); + if (newGeometry != m_oldGeometry) { + geometryChangedEvent(newGeometry, m_oldGeometry); + updateSelectionMarker(); + emit(geometryChanged(this, newGeometry, m_oldGeometry)); + } } void BaseDesignIntf::showEditorDialog(){