From 3bc4c9120afc14237636e66b0bd29d3e4256440c Mon Sep 17 00:00:00 2001 From: Eugene Kurzberg Date: Mon, 19 Dec 2016 13:50:05 +0200 Subject: [PATCH] TSAM-11700 Keypad entry is focused after canceling speed dial popup Change-Id: I7c8555a30374bd0b617afe8961ff3577aacef57d Signed-off-by: Eugene Kurzberg --- lib-phone/src/Phone/Dialer/KeypadButton.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib-phone/src/Phone/Dialer/KeypadButton.cpp b/lib-phone/src/Phone/Dialer/KeypadButton.cpp index a342d69..af247cf 100644 --- a/lib-phone/src/Phone/Dialer/KeypadButton.cpp +++ b/lib-phone/src/Phone/Dialer/KeypadButton.cpp @@ -60,6 +60,8 @@ Evas_Object *KeypadButton::onCreate(Evas_Object *parent) static const std::string path = App::getResourcePath(DIALER_BUTTON_EDJ); Evas_Object *layout = elm_layout_add(parent); + elm_object_focus_allow_set(layout, EINA_TRUE); + Eina_Bool res = elm_layout_file_set(layout, path.c_str(), LAYOUT_BUTTON); WARN_IF(res != EINA_TRUE, "elm_layout_file_set() failed"); -- 2.7.4