Skip to content

Commit a4dac2d

Browse files
committed
fixup! Context handlers: Support annotated settings
1 parent ce4a45b commit a4dac2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orange/widgets/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ def get_var(name):
253253
for name_type in data]
254254
if dtype == -4:
255255
return {get_var(name): val for (name, _), val in data.items()}
256-
if dtype >= 100:
256+
if dtype > 0:
257257
return get_var(data)
258-
return value[0]
258+
return data
259259
else:
260260
return value
261261

0 commit comments

Comments
 (0)