Merge pull request #1154 from Jacco/fix-1153

ungroup
This commit is contained in:
DD Liu 2020-07-16 22:40:26 -04:00 committed by GitHub
commit f8b94a294f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,8 @@ const ungroupItems = function (items, setSelectedItems, onUpdateImage) {
if (!item.hasChildren()) { if (!item.hasChildren()) {
emptyGroups.push(item); emptyGroups.push(item);
} }
} else if (setSelectedItems) {
item.selected = true;
} }
} }
if (setSelectedItems) { if (setSelectedItems) {