mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
[groups] Fix undo/redo handling of addTo/removeFrom group
This commit is contained in:
parent
27c462fee9
commit
c9194c3635
@ -503,7 +503,7 @@ RED.history = (function() {
|
||||
}
|
||||
}
|
||||
} else if (ev.t == "addToGroup") {
|
||||
inverse = {
|
||||
inverseEv = {
|
||||
t: "removeFromGroup",
|
||||
dirty: RED.nodes.dirty(),
|
||||
group: ev.group,
|
||||
@ -513,7 +513,7 @@ RED.history = (function() {
|
||||
RED.group.removeFromGroup(ev.group,ev.nodes);
|
||||
}
|
||||
} else if (ev.t == "removeFromGroup") {
|
||||
inverse = {
|
||||
inverseEv = {
|
||||
t: "addToGroup",
|
||||
dirty: RED.nodes.dirty(),
|
||||
group: ev.group,
|
||||
|
Loading…
Reference in New Issue
Block a user