forked from enlightenment/efl
genlist: focus out by pressing "up" key when no item is selected
Summary: move focus out of genlist by pressing "up" key when no item is selected. Test Plan: elementary_test -to fileselector Reviewers: SanghyeonLee, cedric, Jaehyun_Cho, Hermet Reviewed By: Hermet Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D3721
This commit is contained in:
parent
adc17dfb97
commit
7908a9a57c
|
@ -2919,7 +2919,7 @@ _key_action_move_dir(Evas_Object *obj, Elm_Focus_Direction dir, Eina_Bool multi)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (dir == ELM_FOCUS_UP)
|
||||
if ((sd->focused_item) && (dir == ELM_FOCUS_UP))
|
||||
ret = _item_single_select_up(sd);
|
||||
else if (dir == ELM_FOCUS_DOWN)
|
||||
ret = _item_single_select_down(sd);
|
||||
|
|
Loading…
Reference in New Issue