diff options
author | jinwoo.shin <jw0227.shin@samsung.com> | 2015-09-21 19:04:28 +0900 |
---|---|---|
committer | jinwoo.shin <jw0227.shin@samsung.com> | 2015-09-21 19:04:28 +0900 |
commit | a73bb7a2bb3d14225df86c329038008ba08f107e (patch) | |
tree | 7dfe87fd39b9dfe9e572609d4a95104ea671ed84 /src | |
parent | f936f9376b8f813f13a791e36dc695fe8b794290 (diff) | |
download | air_livetv-a73bb7a2bb3d14225df86c329038008ba08f107e.tar.gz air_livetv-a73bb7a2bb3d14225df86c329038008ba08f107e.tar.bz2 air_livetv-a73bb7a2bb3d14225df86c329038008ba08f107e.zip |
Add default focus for key event
Change-Id: Iaf13892c902434d7dcf87ec35b450b20cdeeacfa
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/view_channelnumber.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view_channelnumber.c b/src/view_channelnumber.c index 44971cd..310ed2a 100644 --- a/src/view_channelnumber.c +++ b/src/view_channelnumber.c @@ -323,6 +323,7 @@ static Evas_Object *_create(Evas_Object *win, void *data) evas_object_size_hint_weight_set(priv->base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, priv->base); + elm_object_focus_allow_set(priv->base, EINA_TRUE); scroll = util_add_scroller(priv->base, PART_CHANNELNUMBER_LIST); if (!scroll) { @@ -374,6 +375,7 @@ static void _show(void *view_data) evas_object_show(priv->base); viewmgr_hide_view(VIEW_CHANNELINFO); + elm_object_focus_set(priv->base, EINA_TRUE); } static void _hide(void *view_data) |