mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3605 from node-red/fix-ungroup-history
Remove duplicate history add of ungroup event
This commit is contained in:
commit
192a4f5e7f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user