Skip to content

Commit

Permalink
Merge pull request #2376 from nikicc/owcolor-match-values
Browse files Browse the repository at this point in the history
[FIX] OWColor: Use DiscreteVariable's values for matching contexts
  • Loading branch information
janezd authored Jun 9, 2017
2 parents d2dec6e + 86be99b commit ce1d881
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Orange/widgets/data/owcolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ class OWColor(widget.OWWidget):
inputs = [("Data", Orange.data.Table, "set_data")]
outputs = [("Data", Orange.data.Table)]

settingsHandler = settings.PerfectDomainContextHandler()
settingsHandler = settings.PerfectDomainContextHandler(
match_values=settings.PerfectDomainContextHandler.MATCH_VALUES_ALL)
disc_data = settings.ContextSetting([])
cont_data = settings.ContextSetting([])
color_settings = settings.Setting(None)
Expand Down

0 comments on commit ce1d881

Please sign in to comment.