Skip to content

Commit e976f7c

Browse files
committed
Fix - after unexpand mark item that it have more content
1 parent ba276a9 commit e976f7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/gui/HierarchyPainter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,6 +1858,7 @@ class HierarchyPainter extends BasePainter {
18581858
menu.add('Expand', () => this.expandItem(itemname), 'Exapnd content of object');
18591859
else {
18601860
menu.add('Unexpand', () => {
1861+
hitem._more = true;
18611862
delete hitem._childs;
18621863
delete hitem._isopen;
18631864
if (hitem.expand_item)

0 commit comments

Comments
 (0)