mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
hide content and arrow if only checkbox key is set in dict widget
This commit is contained in:
parent
7b679f5e79
commit
3800fc91dc
1 changed files with 5 additions and 1 deletions
|
|
@ -1740,7 +1740,11 @@ class DictWidget(QtWidgets.QWidget, ConfigObject):
|
|||
self.input_fields.append(checkbox_widget)
|
||||
checkbox_widget.value_changed.connect(self._on_value_change)
|
||||
|
||||
for child_data in input_data.get("children", []):
|
||||
children_data = input_data.get("children", [])
|
||||
if expandable and checkbox_widget and not children_data:
|
||||
body_widget.hide_toolbox()
|
||||
|
||||
for child_data in children_data:
|
||||
self.add_children_gui(child_data, values)
|
||||
|
||||
def remove_overrides(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue