mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
do not modify input object in _prepare_value
This commit is contained in:
parent
a86799f845
commit
f5bba162ff
2 changed files with 1 additions and 1 deletions
|
|
@ -515,6 +515,7 @@ class RawJsonEntity(InputEntity):
|
|||
def _prepare_value(self, value):
|
||||
metadata = {}
|
||||
if isinstance(value, dict):
|
||||
value = copy.deepcopy(value)
|
||||
for key in METADATA_KEYS:
|
||||
if key in value:
|
||||
metadata[key] = value.pop(key)
|
||||
|
|
|
|||
|
|
@ -679,7 +679,6 @@ class DictMutableKeysWidget(BaseWidget):
|
|||
)
|
||||
self.input_fields.append(input_field)
|
||||
self.content_layout.insertWidget(new_widget_index, input_field)
|
||||
|
||||
return input_field
|
||||
|
||||
def remove_row(self, widget):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue