mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Locked items movement has been fixed
This commit is contained in:
parent
b8ac4de1fe
commit
a70e84bf50
@ -744,9 +744,12 @@ void BaseDesignIntf::setGeometryLocked(bool itemLocked)
|
|||||||
m_savedPossibleResizeDirectionFlags = m_possibleResizeDirectionFlags;
|
m_savedPossibleResizeDirectionFlags = m_possibleResizeDirectionFlags;
|
||||||
m_possibleMoveDirectionFlags = None;
|
m_possibleMoveDirectionFlags = None;
|
||||||
m_possibleResizeDirectionFlags = Fixed;
|
m_possibleResizeDirectionFlags = Fixed;
|
||||||
|
m_savedFixedPos = m_fixedPos;
|
||||||
|
m_fixedPos = true;
|
||||||
} else {
|
} else {
|
||||||
m_possibleMoveDirectionFlags = m_savedPossibleMoveDirectionFlags;
|
m_possibleMoveDirectionFlags = m_savedPossibleMoveDirectionFlags;
|
||||||
m_possibleResizeDirectionFlags = m_savedPossibleResizeDirectionFlags;
|
m_possibleResizeDirectionFlags = m_savedPossibleResizeDirectionFlags;
|
||||||
|
m_fixedPos = m_savedFixedPos;
|
||||||
}
|
}
|
||||||
if (!isLoading()){
|
if (!isLoading()){
|
||||||
update();
|
update();
|
||||||
|
@ -386,6 +386,7 @@ private:
|
|||||||
int m_possibleMoveDirectionFlags;
|
int m_possibleMoveDirectionFlags;
|
||||||
int m_savedPossibleResizeDirectionFlags;
|
int m_savedPossibleResizeDirectionFlags;
|
||||||
int m_savedPossibleMoveDirectionFlags;
|
int m_savedPossibleMoveDirectionFlags;
|
||||||
|
int m_savedFixedPos;
|
||||||
int m_resizeDirectionFlags;
|
int m_resizeDirectionFlags;
|
||||||
qreal m_width;
|
qreal m_width;
|
||||||
qreal m_height;
|
qreal m_height;
|
||||||
|
Loading…
Reference in New Issue
Block a user