Commit 6d6904c4 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: extend the area where an item can be droped

parent b5028447
......@@ -178,6 +178,9 @@ FormEditorItem* DragTool::calculateContainer(const QPointF &point, FormEditorIte
if (formEditorItem && formEditorItem != currentItem && formEditorItem->isContainer())
return formEditorItem;
if (scene()->rootFormEditorItem()->boundingRect().adjusted(-100, -100, 100, 100).contains(point))
return scene()->rootFormEditorItem();
return 0;
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