mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
mutable widget can pass keys
This commit is contained in:
parent
a7a147d8a5
commit
6907caa9b4
1 changed files with 4 additions and 2 deletions
|
|
@ -651,8 +651,10 @@ class DictMutableKeysWidget(BaseWidget):
|
|||
for input_field in tuple(self.input_fields):
|
||||
self.remove_row(input_field)
|
||||
|
||||
for child_entity in self.entity.values():
|
||||
self.add_widget_for_child(child_entity)
|
||||
for key, child_entity in self.entity.items():
|
||||
widget = self.add_widget_for_child(child_entity)
|
||||
widget.origin_key = key
|
||||
widget.key_input.setText(key)
|
||||
self.on_shuffle()
|
||||
|
||||
def _on_entity_change(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue