mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 04:54:40 +03:00
Geometry change event has been reverted
This commit is contained in:
parent
cf0886c8eb
commit
603d80e1a5
@ -1126,6 +1126,12 @@ void BaseDesignIntf::setItemPos(const QPointF &newPos)
|
|||||||
void BaseDesignIntf::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
void BaseDesignIntf::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
||||||
{
|
{
|
||||||
QGraphicsItem::mouseReleaseEvent(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(){
|
void BaseDesignIntf::showEditorDialog(){
|
||||||
|
Loading…
Reference in New Issue
Block a user