Subflow name property getting dropped on import

Closes #468
This commit is contained in:
Nick O'Leary 2014-10-31 22:44:58 +00:00
parent 694649e8f9
commit 4494c11b03
1 changed files with 1 additions and 0 deletions

View File

@ -656,6 +656,7 @@ RED.nodes = (function() {
node._def = registry.getNodeType(node.type);
delete node.i;
}
node.name = n.name;
node.outputs = subflow.out.length;
node.inputs = subflow.in.length;
} else {