From d4051a1d1dea9af255049b8faf10f0779e1dc44e Mon Sep 17 00:00:00 2001 From: SangHyeon Jade Lee Date: Tue, 30 Jun 2020 09:48:38 +0900 Subject: [PATCH] genlist : remove focusable conditions for wearable feature disable/display mode is not a restriction of focus in wearable. Change-Id: Ic26ff5e4f610f0fb9d73e63b9cfe11cc173d2c90 --- src/lib/elementary_tizen/elm_genlist.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/elementary_tizen/elm_genlist.c b/src/lib/elementary_tizen/elm_genlist.c index 76190ad211..48496b8e3a 100644 --- a/src/lib/elementary_tizen/elm_genlist.c +++ b/src/lib/elementary_tizen/elm_genlist.c @@ -4151,12 +4151,9 @@ static Eina_Bool _item_focusable_search(Elm_Gen_Item **it, int dir) while (tmp) { - if (!elm_object_item_disabled_get(EO_OBJ(tmp)) && - (!tmp->hide)) + if (!tmp->hide) { - if ((tmp->select_mode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY) || - (tmp->select_mode == ELM_OBJECT_SELECT_MODE_NONE) || - (tmp->flipped)) + if (tmp->flipped) { Evas_Object *obj = NULL; Eina_List *contents = NULL; -- 2.34.1