diff --git a/red/runtime/nodes/flows/util.js b/red/runtime/nodes/flows/util.js index e2a18043a..16b9f461b 100644 --- a/red/runtime/nodes/flows/util.js +++ b/red/runtime/nodes/flows/util.js @@ -203,6 +203,13 @@ module.exports = { var linkMap = {}; var changedTabs = {}; + + // Look for tabs that have been removed + for (id in oldConfig.flows) { + if (oldConfig.flows.hasOwnProperty(id) && (!newConfig.flows.hasOwnProperty(id))) { + removed[id] = oldConfig.allNodes[id]; + } + } // Look for tabs that have been disabled for (id in oldConfig.flows) {