Skip to content

Commit

Permalink
Update src/psygnal/_evented_model_v2.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Sweet <[email protected]>
  • Loading branch information
tlambert03 and andy-sweet authored Sep 18, 2023
1 parent d5f4c93 commit c4a5ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psygnal/_evented_model_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def __setattr__(self, name: str, value: Any) -> None:
if not _check_field_equality(type(self), name, after, before):
signal_instance.emit(after) # emit event

# also emit events for any dependent computed property setters as well
# also emit events for any dependent attributes as well
for dep, before_val in deps_before.items():
after_val = getattr(self, dep)
if not _check_field_equality(type(self), dep, after_val, before_val):
Expand Down

0 comments on commit c4a5ba6

Please sign in to comment.