From c4a5ba6ce7e96c35e19ac19b762ed5a8253d4b58 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 18 Sep 2023 10:23:41 -0400 Subject: [PATCH] Update src/psygnal/_evented_model_v2.py Co-authored-by: Andy Sweet --- src/psygnal/_evented_model_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psygnal/_evented_model_v2.py b/src/psygnal/_evented_model_v2.py index 4dd5036a..cea44bd1 100644 --- a/src/psygnal/_evented_model_v2.py +++ b/src/psygnal/_evented_model_v2.py @@ -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):