mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure activeWorkspace is set when a flow contains no tabs
This commit is contained in:
parent
2585e983a5
commit
9b26973883
@ -615,6 +615,7 @@ RED.nodes = (function() {
|
|||||||
addWorkspace(defaultWorkspace);
|
addWorkspace(defaultWorkspace);
|
||||||
RED.view.addWorkspace(defaultWorkspace);
|
RED.view.addWorkspace(defaultWorkspace);
|
||||||
new_workspaces.push(defaultWorkspace);
|
new_workspaces.push(defaultWorkspace);
|
||||||
|
activeWorkspace = RED.view.getWorkspace();
|
||||||
}
|
}
|
||||||
|
|
||||||
var node_map = {};
|
var node_map = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user