Fix crash when no widgets on customized group node
This commit is contained in:
parent
da7a8df0d2
commit
29558fb3ac
|
@ -910,6 +910,9 @@ export class GroupNodeHandler {
|
|||
const self = this;
|
||||
const onNodeCreated = this.node.onNodeCreated;
|
||||
this.node.onNodeCreated = function () {
|
||||
if (!this.widgets) {
|
||||
return;
|
||||
}
|
||||
const config = self.groupData.nodeData.config;
|
||||
if (config) {
|
||||
for (const n in config) {
|
||||
|
|
Loading…
Reference in New Issue