Skip to content

Commit 16e4ec9

Browse files
committed
OWDataProjectionWidget: Check all parts of effective_data for invalidation
1 parent 28d01ed commit 16e4ec9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Orange/widgets/visualize/utils/widget.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,10 @@ def set_data(self, data):
455455
self.openContext(self.data)
456456
self._invalidated = not (
457457
data_existed and self.data is not None and
458-
array_equal(effective_data.X, self.effective_data.X))
458+
array_equal(effective_data.X, self.effective_data.X) and
459+
array_equal(effective_data.Y, self.effective_data.Y) and
460+
array_equal(effective_data.metas, self.effective_data.metas)
461+
)
459462
self._domain_invalidated = not (
460463
data_existed and self.data is not None and
461464
effective_data.domain.checksum()

0 commit comments

Comments
 (0)