diff --git a/red/runtime/nodes/flows/index.js b/red/runtime/nodes/flows/index.js index d1ba541f5..1b2a87ac0 100644 --- a/red/runtime/nodes/flows/index.js +++ b/red/runtime/nodes/flows/index.js @@ -477,11 +477,19 @@ function addFlow(flow) { } flow.id = redUtil.generateId(); - var nodes = [{ + var tabNode = { type:'tab', label:flow.label, id:flow.id - }]; + } + if (flow.hasOwnProperty('info')) { + tabNode.info = flow.info; + } + if (flow.hasOwnProperty('disabled')) { + tabNode.disabled = flow.disabled; + } + + var nodes = [tabNode]; for (i=0;i