Merge pull request #3655 from Steve-Mcl/dup-hist-event

Remove duplicate history add of ungroup event (backport #3581to v2.x)
This commit is contained in:
Nick O'Leary
2022-06-16 11:12:11 +01:00
committed by GitHub

View File

@@ -323,9 +323,6 @@ RED.group = (function() {
groups: [ ], groups: [ ],
dirty: RED.nodes.dirty() dirty: RED.nodes.dirty()
} }
RED.history.push(historyEvent);
groups.forEach(function(g) { groups.forEach(function(g) {
newSelection = newSelection.concat(ungroup(g)) newSelection = newSelection.concat(ungroup(g))
historyEvent.groups.push(g); historyEvent.groups.push(g);