From 9b26973883c9be3f6830e9b0b2a52b4f968563a2 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 20 Feb 2015 10:05:42 +0000 Subject: [PATCH] Ensure activeWorkspace is set when a flow contains no tabs --- public/red/nodes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/red/nodes.js b/public/red/nodes.js index aaab94243..78b7429bb 100644 --- a/public/red/nodes.js +++ b/public/red/nodes.js @@ -615,6 +615,7 @@ RED.nodes = (function() { addWorkspace(defaultWorkspace); RED.view.addWorkspace(defaultWorkspace); new_workspaces.push(defaultWorkspace); + activeWorkspace = RED.view.getWorkspace(); } var node_map = {};