0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Geometry change event has been reverted

This commit is contained in:
Arin Alexander 2019-01-18 23:44:58 +03:00
parent cf0886c8eb
commit 603d80e1a5

View File

@ -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(){