Set title to widget name

This commit is contained in:
pythongosssss 2023-03-24 16:51:17 +00:00
parent 97198f5b74
commit 1fa9ccaa16

View File

@ -149,6 +149,7 @@ app.registerExtension({
app.graph.add(node);
node.pos = [this.pos[0] - node.size[0] - 30, this.pos[1]];
node.connect(0, this, slot);
node.title = this.inputs[slot].name;
}
return r;