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;