mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix usage of collapsed value in CollapsibleWrapper
This commit is contained in:
parent
0bfb3c3dfc
commit
748f84b600
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ class CollapsibleWrapper(WrapperWidget):
|
||||||
self.content_layout = content_layout
|
self.content_layout = content_layout
|
||||||
|
|
||||||
if self.collapsible:
|
if self.collapsible:
|
||||||
body_widget.toggle_content(self.collapsed)
|
if not self.entity.collapsed:
|
||||||
|
body_widget.toggle_content()
|
||||||
else:
|
else:
|
||||||
body_widget.hide_toolbox(hide_content=False)
|
body_widget.hide_toolbox(hide_content=False)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue