Commit 8fb5661f authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Don't show resize handles for a non movable item



Change-Id: Ie3e01a2b5f3e8296afaa8c87a307fb1ec07092d5
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 17a10c64
......@@ -74,6 +74,7 @@ void ResizeIndicator::setItems(const QList<FormEditorItem*> &itemList)
if (item
&& item->qmlItemNode().isValid()
&& item->qmlItemNode().instanceIsResizable()
&& item->qmlItemNode().modelIsMovable()
&& item->qmlItemNode().modelIsResizable()
&& !item->qmlItemNode().instanceHasRotationTransform()
&& !item->qmlItemNode().instanceIsInLayoutable()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment