From c4d02a259bb96e681548ea4d51f4215b2126c7c7 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Wed, 18 Oct 2023 13:13:46 +0200 Subject: [PATCH] Fix - after unexpand mark item that it have more content --- modules/gui/HierarchyPainter.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui/HierarchyPainter.mjs b/modules/gui/HierarchyPainter.mjs index cf32451ad..9511962e6 100644 --- a/modules/gui/HierarchyPainter.mjs +++ b/modules/gui/HierarchyPainter.mjs @@ -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)