[backport 1.25] Rename subgraph widgets when slot is renamed (#4825)

Co-authored-by: AustinMroz <austin@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2025-08-08 06:46:48 +08:00
committed by GitHub
parent a9f05bd604
commit 80d54eca2f

View File

@@ -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 }
)