diff --git a/src/lib/litegraph/src/subgraph/SubgraphNode.ts b/src/lib/litegraph/src/subgraph/SubgraphNode.ts index 4a016602f..b856af0ac 100644 --- a/src/lib/litegraph/src/subgraph/SubgraphNode.ts +++ b/src/lib/litegraph/src/subgraph/SubgraphNode.ts @@ -125,6 +125,9 @@ export class SubgraphNode extends LGraphNode implements BaseLGraph { if (!input) throw new Error('Subgraph input not found') input.label = newName + if (input._widget) { + input._widget.label = newName + } }, { signal } )