diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js index 30bfb4906..c68cb7bbf 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/nodes.js +++ b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -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();