mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Undo 'selection to subflow' not restoring nodes
This commit is contained in:
parent
6ae1a5ba0d
commit
4772bca14a
@ -231,7 +231,7 @@ RED.history = (function() {
|
|||||||
ev.node.changed = ev.changed;
|
ev.node.changed = ev.changed;
|
||||||
} else if (ev.t == "createSubflow") {
|
} else if (ev.t == "createSubflow") {
|
||||||
if (ev.nodes) {
|
if (ev.nodes) {
|
||||||
RED.nodes.filterNodes({z:ev.subflow.id}).forEach(function(n) {
|
RED.nodes.filterNodes({z:ev.subflow.subflow.id}).forEach(function(n) {
|
||||||
n.z = ev.activeWorkspace;
|
n.z = ev.activeWorkspace;
|
||||||
n.dirty = true;
|
n.dirty = true;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user