Validate nodes on import after any references have been remapped

pull/946/head
Nick O'Leary 2016-07-20 11:30:49 +01:00
parent 15b6f6268b
commit ad8290ebcb
1 changed files with 4 additions and 0 deletions

View File

@ -912,6 +912,10 @@ RED.nodes = (function() {
return (otherNode && otherNode.z === activeWorkspace)
});
}
// With all properties now remapped to point at valid nodes,
// we can validate the node
RED.editor.validateNode(n);
}
for (i=0;i<new_subflows.length;i++) {
n = new_subflows[i];