diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:16:20 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:16:20 +0200 |
commit | ec0caa569b356f186e87c13e50550ca1b807dde6 (patch) | |
tree | ab07671a8aed9c573fe20d2d100be0ab1c5e68a7 /fw/fe310/eos/eve/widget/selectw.c | |
parent | 7f8e473ac12191ca4449de96033e2acda07dc4c4 (diff) |
eve support when i2s is running
Diffstat (limited to 'fw/fe310/eos/eve/widget/selectw.c')
-rw-r--r-- | fw/fe310/eos/eve/widget/selectw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/widget/selectw.c b/fw/fe310/eos/eve/widget/selectw.c index 5acf998..f5bb6e0 100644 --- a/fw/fe310/eos/eve/widget/selectw.c +++ b/fw/fe310/eos/eve/widget/selectw.c @@ -180,7 +180,6 @@ int eve_selectw_touch(EVEWidget *_widget, EVETouch *touch, uint16_t evt) { } } - eve_widget_set_focus(_widget, NULL); return 1; } @@ -206,7 +205,8 @@ utf8_t *eve_selectw_option(EVESelectWidget *widget, int idx) { } utf8_t *eve_selectw_option_selected(EVESelectWidget *widget) { - return eve_selectw_option(widget, widget->select); + if (widget->select != SELECTW_NOSELECT) return eve_selectw_option(widget, widget->select); + return NULL; } int eve_selectw_add_option(EVESelectWidget *widget, utf8_t *option) { |