reject position and matrix changes when locked
BUG:177596 svn path=/trunk/KDE/kdelibs/; revision=897433
This commit is contained in:
parent
bad9871ccf
commit
69364bc42e
@ -1590,6 +1590,12 @@ QVariant Applet::itemChange(GraphicsItemChange change, const QVariant &value)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ItemPositionChange:
|
||||
return immutability() == Mutable ? value : pos();
|
||||
break;
|
||||
case ItemTransformChange:
|
||||
return immutability() == Mutable ? value : transform();
|
||||
break;
|
||||
case ItemPositionHasChanged:
|
||||
emit geometryChanged();
|
||||
// fall through!
|
||||
|
Loading…
Reference in New Issue
Block a user