hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=25f05848ccfc087450ae6bea1da5e1d344e4743d
commit 25f05848ccfc087450ae6bea1da5e1d344e4743d Author: Subodh Kumar <s7158.ku...@samsung.com> Date: Tue Feb 23 20:33:24 2016 +0900 Elm entry: No use of top object if not editable. Summary: No use of top object if not editable. Reviewers: cedric, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D3719 --- src/lib/elm_entry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 3e057b8..3165847 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1169,11 +1169,12 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite Evas_Object *top; Eina_Bool top_is_win = EINA_FALSE; + if (!sd->editable) return EINA_FALSE; + top = elm_widget_top_get(obj); if (top && eo_isa(top, ELM_WIN_CLASS)) top_is_win = EINA_TRUE; - if (!sd->editable) return EINA_FALSE; if (elm_widget_focus_get(obj)) { evas_object_focus_set(sd->entry_edje, EINA_TRUE); --