summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoohye Shin <soohye.shin@samsung.com>2015-08-10 21:16:56 +0900
committerSoohye Shin <soohye.shin@samsung.com>2015-08-10 21:16:56 +0900
commit83bfc1c56795101e099bf4e90618dd185f9a9670 (patch)
treea7de8133c014b2bd17fc6e771375a2ad7d74d37c
parent6b1963a3b080aa5314b7dfa01c60131f6d5627a0 (diff)
downloadair_home-83bfc1c56795101e099bf4e90618dd185f9a9670.tar.gz
air_home-83bfc1c56795101e099bf4e90618dd185f9a9670.tar.bz2
air_home-83bfc1c56795101e099bf4e90618dd185f9a9670.zip
set focus to done button by pressing enter key when focus be in the name entrysubmit/tizen/20150810.135840accepted/tizen/tv/20150811.014049
Change-Id: I64b242803a0cad15bf5d465bca71113be32ad0f4 Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
-rw-r--r--src/view/view_user_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/view_user_edit.c b/src/view/view_user_edit.c
index 4d47e10..d3c067c 100644
--- a/src/view/view_user_edit.c
+++ b/src/view/view_user_edit.c
@@ -555,6 +555,8 @@ static void _select(struct _priv *priv, int id, Evas_Object *obj)
_select_eo(priv, obj);
break;
case INPUT_HANDLER_TYPE_ENTRY:
+ elm_object_focus_set(priv->done, EINA_TRUE);
+ break;
case INPUT_HANDLER_TYPE_BTN_DONE:
_select_btn_done(priv);
break;
@@ -756,6 +758,7 @@ static void _destroy(void *data)
inputmgr_remove_callback(priv->photo, &handler);
inputmgr_remove_callback(priv->done, &handler);
inputmgr_remove_callback(priv->cancel, &handler);
+ inputmgr_remove_callback(priv->name, &handler);
viewmgr_remove_view(VIEW_PHOTO);
evas_object_del(priv->base);
free(priv);