From 165a5d72080c4413bbbc34735318f5f719a28277 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 5 Nov 2018 20:36:39 +0100 Subject: [PATCH] Fix dropdown uint item --- menu/cbs/menu_cbs_ok.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 4a701fd837..fc9df18401 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -4328,12 +4328,14 @@ static int action_ok_push_dropdown_setting_uint_item(const char *path, value = (unsigned)(idx + setting->offset_by); +#if 0 if (!string_is_empty(path)) { unsigned path_value = atoi(path); if (path_value != value) value = path_value; } +#endif *setting->value.target.unsigned_integer = value; return action_cancel_pop_default(NULL, NULL, 0, 0);