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