Skip to content

Commit

Permalink
Fix - after unexpand mark item that it have more content
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Oct 18, 2023
1 parent 09d5ae2 commit c4d02a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gui/HierarchyPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,7 @@ class HierarchyPainter extends BasePainter {
menu.add('Expand', () => this.expandItem(itemname), 'Exapnd content of object');
else {
menu.add('Unexpand', () => {
hitem._more = true;
delete hitem._childs;
delete hitem._isopen;
if (hitem.expand_item)
Expand Down

0 comments on commit c4d02a2

Please sign in to comment.