Skip to content

Commit 0d8338f

Browse files
AustinMrozDrJKL
authored andcommitted
Potential test case fix
1 parent 699cec6 commit 0d8338f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/litegraph/src/LGraphNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ export class LGraphNode
849849
.values()
850850
.filter((w) => w.serialize !== false)
851851
widgetsWithValue.forEach((widget, i) => {
852-
if (widget) {
852+
if (widget && i < info.widgets_values!.length) {
853853
widget.value = info.widgets_values![i]
854854
}
855855
})

0 commit comments

Comments
 (0)