From 5a154e708eb8bd1d69c91872d6a85fa39cd510a6 Mon Sep 17 00:00:00 2001 From: Jacco Kulman Date: Sat, 27 Jun 2020 14:41:24 +0200 Subject: [PATCH] ungroup --- src/helper/group.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helper/group.js b/src/helper/group.js index 4e23aa7a..a5379fa5 100644 --- a/src/helper/group.js +++ b/src/helper/group.js @@ -92,6 +92,8 @@ const ungroupItems = function (items, setSelectedItems, onUpdateImage) { if (!item.hasChildren()) { emptyGroups.push(item); } + } else if (setSelectedItems) { + item.selected = true; } } if (setSelectedItems) {