From a70e84bf508ccff5563c93330ac42533363eb1a0 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sun, 30 Jun 2019 12:41:07 +0300 Subject: [PATCH] Locked items movement has been fixed --- limereport/lrbasedesignintf.cpp | 3 +++ limereport/lrbasedesignintf.h | 1 + 2 files changed, 4 insertions(+) diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index a05d48a..d76f341 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -744,9 +744,12 @@ void BaseDesignIntf::setGeometryLocked(bool itemLocked) m_savedPossibleResizeDirectionFlags = m_possibleResizeDirectionFlags; m_possibleMoveDirectionFlags = None; m_possibleResizeDirectionFlags = Fixed; + m_savedFixedPos = m_fixedPos; + m_fixedPos = true; } else { m_possibleMoveDirectionFlags = m_savedPossibleMoveDirectionFlags; m_possibleResizeDirectionFlags = m_savedPossibleResizeDirectionFlags; + m_fixedPos = m_savedFixedPos; } if (!isLoading()){ update(); diff --git a/limereport/lrbasedesignintf.h b/limereport/lrbasedesignintf.h index 83890de..462791f 100644 --- a/limereport/lrbasedesignintf.h +++ b/limereport/lrbasedesignintf.h @@ -386,6 +386,7 @@ private: int m_possibleMoveDirectionFlags; int m_savedPossibleResizeDirectionFlags; int m_savedPossibleMoveDirectionFlags; + int m_savedFixedPos; int m_resizeDirectionFlags; qreal m_width; qreal m_height;