Skip to content

Commit

Permalink
fixup! Context handlers: Support annotated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Oct 3, 2020
1 parent ce4a45b commit a4dac2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Orange/widgets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ def get_var(name):
for name_type in data]
if dtype == -4:
return {get_var(name): val for (name, _), val in data.items()}
if dtype >= 100:
if dtype > 0:
return get_var(data)
return value[0]
return data
else:
return value

Expand Down

0 comments on commit a4dac2d

Please sign in to comment.