mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix condition triggering refresh of values in UI
This commit is contained in:
parent
4b5573d0a4
commit
53a839b34f
1 changed files with 2 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ class CreatorAttrsWidget(QtWidgets.QWidget):
|
|||
for instance_id, changes in event["instance_changes"].items():
|
||||
if (
|
||||
instance_id in self._current_instance_ids
|
||||
and "creator_attributes" not in changes
|
||||
and "creator_attributes" in changes
|
||||
):
|
||||
self._refresh_content()
|
||||
break
|
||||
|
|
@ -498,7 +498,7 @@ class PublishPluginAttrsWidget(QtWidgets.QWidget):
|
|||
for instance_id, changes in event["instance_changes"].items():
|
||||
if (
|
||||
instance_id in self._current_instance_ids
|
||||
and "publish_attributes" not in changes
|
||||
and "publish_attributes" in changes
|
||||
):
|
||||
self._refresh_content()
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue