Commit 9a3495cb authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Movable items should be have no xy binding



Change-Id: I621472e4d51ceb786684ed0d69598724e853e4df
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 8fb5661f
......@@ -352,7 +352,10 @@ QList<FormEditorItem*> movalbeItems(const QList<FormEditorItem*> &itemList)
QMutableListIterator<FormEditorItem*> listIterator(filteredItemList);
while (listIterator.hasNext()) {
FormEditorItem *item = listIterator.next();
if (!item->qmlItemNode().isValid() || !item->qmlItemNode().instanceIsMovable() || item->qmlItemNode().instanceIsInLayoutable())
if (!item->qmlItemNode().isValid()
|| !item->qmlItemNode().instanceIsMovable()
|| !item->qmlItemNode().modelIsMovable()
|| item->qmlItemNode().instanceIsInLayoutable())
listIterator.remove();
}
......
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