Skip to content

Commit 37b1b6a

Browse files
committed
[ui] Qt6 Compatibility Fix: Fixed an issue with the Floating Pane which was reacting with the construction of Nodes in the graph
1 parent 95a8aaf commit 37b1b6a

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

meshroom/ui/qml/GraphEditor/GraphEditor.qml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,17 +1101,20 @@ Item {
11011101
visible: graphSearchBar.text !== ""
11021102
}
11031103

1104-
Repeater {
1105-
id: filteredNodes
1106-
model: SortFilterDelegateModel {
1107-
model: root.graph ? root.graph.nodes : undefined
1108-
sortRole: "label"
1109-
filters: [{role: "label", value: graphSearchBar.text}]
1110-
delegate: Item {
1111-
property var index_: index
1112-
}
1113-
function modelData(item, roleName_) {
1114-
return item.model.object[roleName_]
1104+
Item {
1105+
visible: false
1106+
Repeater {
1107+
id: filteredNodes
1108+
model: SortFilterDelegateModel {
1109+
model: root.graph ? root.graph.nodes : undefined
1110+
sortRole: "label"
1111+
filters: [{role: "label", value: graphSearchBar.text}]
1112+
delegate: Item {
1113+
property var index_: index
1114+
}
1115+
function modelData(item, roleName_) {
1116+
return item.model.object[roleName_]
1117+
}
11151118
}
11161119
}
11171120
}

0 commit comments

Comments
 (0)