Skip to content

Commit

Permalink
OWDataProjectionWidget: Check all parts of effective_data for invalid…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
lanzagar committed Feb 11, 2022
1 parent 84c3c21 commit 1bf5e7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Orange/widgets/visualize/utils/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,10 @@ def set_data(self, data):
self.openContext(self.data)
self._invalidated = not (
data_existed and self.data is not None and
array_equal(effective_data.X, self.effective_data.X))
array_equal(effective_data.X, self.effective_data.X) and
array_equal(effective_data.Y, self.effective_data.Y) and
array_equal(effective_data.metas, self.effective_data.metas)
)
self._domain_invalidated = not (
data_existed and self.data is not None and
effective_data.domain.checksum()
Expand Down

0 comments on commit 1bf5e7e

Please sign in to comment.