Commit 494d16f3 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.FormEditor: using FormEditorItem::isContainer in MoveTool

Change-Id: Ie30c0409cb2288c8c2cf649a92e7b54aa9481cb2
Reviewed-by: default avatarMarco Bubke <>
parent a2fee4c6
......@@ -337,7 +337,8 @@ FormEditorItem* MoveTool::containerFormEditorItem(const QList<QGraphicsItem*> &i
FormEditorItem *formEditorItem = FormEditorItem::fromQGraphicsItem(item);
if (formEditorItem
&& !selectedItemList.contains(formEditorItem)
&& isNotAncestorOfItemInList(formEditorItem, selectedItemList))
&& isNotAncestorOfItemInList(formEditorItem, selectedItemList)
&& formEditorItem->isContainer())
return formEditorItem;
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