From: Carsten Haitzler Date: Fri, 3 Aug 2012 05:43:44 +0000 (+0000) Subject: fix another elm release bug - grab focus if we begin a selection. X-Git-Tag: v1.7.0~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c4deebabbe23f36b15c15851512a25c9a97f0d9;p=platform%2Fupstream%2Felementary.git fix another elm release bug - grab focus if we begin a selection. SVN revision: 74816 --- diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index dcf3c22..1760603 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1660,6 +1660,7 @@ _signal_selection_start(void *data, Evas_Object *obj __UNUSED__, const char *emi const Eina_List *l; Evas_Object *entry; if (!wd) return; + if (!elm_object_focus_get(data)) elm_object_focus_set(data, EINA_TRUE); EINA_LIST_FOREACH(entries, l, entry) { if (entry != data) elm_entry_select_none(entry);