mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-01 03:39:48 +03:00
Fix #35 'Undo' after applying of Horizontal Layout breaks the movement logic
This commit is contained in:
@@ -2047,6 +2047,8 @@ void InsertHLayoutCommand::undoIt()
|
|||||||
bi->setParentItem(parent);
|
bi->setParentItem(parent);
|
||||||
bi->setParent(parent);
|
bi->setParent(parent);
|
||||||
bi->setPos(m_elements.value(bi->objectName()));
|
bi->setPos(m_elements.value(bi->objectName()));
|
||||||
|
bi->setFixedPos(false);
|
||||||
|
bi->setPosibleResizeDirectionFlags(BaseDesignIntf::AllDirections);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
page()->removeReportItem(layout,false);
|
page()->removeReportItem(layout,false);
|
||||||
|
Reference in New Issue
Block a user