fix attribute access

This commit is contained in:
Jakub Trllo 2022-03-23 18:00:57 +01:00
parent 748f84b600
commit 953ff9eedb

View file

@ -92,7 +92,7 @@ class CollapsibleWrapper(WrapperWidget):
self.content_layout = content_layout
if self.collapsible:
if not self.entity.collapsed:
if not self.collapsed:
body_widget.toggle_content()
else:
body_widget.hide_toolbox(hide_content=False)