Skip to content

Commit

Permalink
Predictions: fix loading of settings without dicrete classes
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed May 13, 2022
1 parent 5425d2b commit f86ed47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Orange/widgets/evaluate/owpredictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f86ed47

Please sign in to comment.