From 4798e44d017b3dc9182166110882924480f33001 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sat, 31 Oct 2015 12:40:07 -0400 Subject: [PATCH] Fixed Counter widget type --- gooey/python_bindings/argparse_to_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/python_bindings/argparse_to_json.py b/gooey/python_bindings/argparse_to_json.py index f4e3393..a504556 100644 --- a/gooey/python_bindings/argparse_to_json.py +++ b/gooey/python_bindings/argparse_to_json.py @@ -86,7 +86,7 @@ def categorize(actions, widget_dict, required=False): elif is_flag(action): yield as_json(action, _get_widget(action) or 'CheckBox', required) elif is_counter(action): - _json = as_json(action, _get_widget(action) or 'Dropdown', required) + _json = as_json(action, _get_widget(action) or 'Counter', required) # pre-fill the 'counter' dropdown _json['data']['choices'] = map(str, range(1, 11)) yield _json