diff --git a/Orange/widgets/evaluate/owpredictions.py b/Orange/widgets/evaluate/owpredictions.py index 3ed1f3414cb..09522175fbd 100644 --- a/Orange/widgets/evaluate/owpredictions.py +++ b/Orange/widgets/evaluate/owpredictions.py @@ -215,8 +215,7 @@ def set_data(self, data): self.predictionsview)) self._set_target_combos() - if self.is_discrete_class: - self.openContext(self.class_var.values) + self.openContext(self.class_var.values if self.is_discrete_class else ()) self._invalidate_predictions() def _store_selection(self):