From 17ca1d142f035bf142ca4b00d1abf18281f5bc87 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Wed, 1 Jun 2016 19:54:10 +0400 Subject: [PATCH] Fix #35 'Undo' after applying of Horizontal Layout breaks the movement logic --- limereport/lrpagedesignintf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index 3aa2cf4..d35b4fd 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -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);