TSAM-11700 Keypad entry is focused after canceling speed dial popup 82/105782/2 submit/tizen_3.0/20161219.151433
authorEugene Kurzberg <i.kurtsberg@samsung.com>
Mon, 19 Dec 2016 11:50:05 +0000 (13:50 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 19 Dec 2016 12:21:14 +0000 (04:21 -0800)
Change-Id: I7c8555a30374bd0b617afe8961ff3577aacef57d
Signed-off-by: Eugene Kurzberg <i.kurtsberg@samsung.com>
lib-phone/src/Phone/Dialer/KeypadButton.cpp

index a342d69..af247cf 100644 (file)
@@ -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");