Ensure activeWorkspace is set when a flow contains no tabs

This commit is contained in:
Nick O'Leary 2015-02-20 10:05:42 +00:00
parent 2585e983a5
commit 9b26973883
1 changed files with 1 additions and 0 deletions

View File

@ -615,6 +615,7 @@ RED.nodes = (function() {
addWorkspace(defaultWorkspace);
RED.view.addWorkspace(defaultWorkspace);
new_workspaces.push(defaultWorkspace);
activeWorkspace = RED.view.getWorkspace();
}
var node_map = {};