mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +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_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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user