diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index 54c6259f2ca..e2592e52e35 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -1386,9 +1386,11 @@ Item { if (first === null) { return Qt.rect(0, 0, 0, 0) } + // Fetch the actual delegate item from the Loader + first = first.item; var bbox = Qt.rect(first.x, first.y, first.x + first.width, first.y + first.height) for (var i = 0; i < root.graph.nodes.count; ++i) { - var item = nodeRepeater.itemAt(i) + var item = nodeRepeater.itemAt(i).item bbox.x = Math.min(bbox.x, item.x) bbox.y = Math.min(bbox.y, item.y) bbox.width = Math.max(bbox.width, item.x + item.width)