Ensure sf instance nodes update in outliner when import-replace sf

This commit is contained in:
Nick O'Leary
2020-09-18 20:56:16 +01:00
parent a48f0827ae
commit 041feb4e86

View File

@@ -1020,6 +1020,11 @@ RED.nodes = (function() {
}
}
})
newSubflowIds.forEach(function(id) {
var n = newSubflows[id];
RED.events.emit("subflows:change",n);
})
// Just in case the imported subflow changed color.
RED.utils.clearNodeColorCache();