Update nodeTabMap when replacing unknown nodes

This commit is contained in:
Nick O'Leary
2020-03-31 15:34:48 +01:00
parent 5c06761b1a
commit e7f942eda7

View File

@@ -1434,6 +1434,9 @@ RED.nodes = (function() {
delete configNodes[n.id]; delete configNodes[n.id];
} else { } else {
nodes.splice(nodes.indexOf(n),1); nodes.splice(nodes.indexOf(n),1);
if (nodeTabMap[n.z]) {
delete nodeTabMap[n.z][n.id];
}
} }
reimportList.push(convertNode(n)); reimportList.push(convertNode(n));
}); });