Autopcomp: select first item in candidates list.
Reviewers: Hermet Maniphest Tasks: T2495 Differential Revision: https://phab.enlightenment.org/D2719
This commit is contained in:
parent
1877830e70
commit
708923f8ff
|
@ -449,18 +449,17 @@ entry_tooltip_content_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
Eina_List *l;
|
||||
lexem *lexem_data;
|
||||
Elm_Object_Item *it = NULL;
|
||||
EINA_LIST_FOREACH(ad->lexem_ptr->nodes, l, lexem_data)
|
||||
{
|
||||
if (!strncmp(lexem_data->name, ad->queue, ad->queue_pos))
|
||||
{
|
||||
it = elm_list_item_append(ad->list, lexem_data->name,
|
||||
elm_list_item_append(ad->list, lexem_data->name,
|
||||
NULL, NULL, NULL, lexem_data);
|
||||
found = EINA_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
elm_list_item_selected_set(it, EINA_TRUE);
|
||||
elm_list_item_selected_set(elm_list_first_item_get(ad->list), EINA_TRUE);
|
||||
evas_object_smart_callback_add(ad->list, "unfocused", anchor_unfocused_cb,
|
||||
ad);
|
||||
evas_object_event_callback_add(ad->list, EVAS_CALLBACK_DEL, list_del_cb, ad);
|
||||
|
|
Loading…
Reference in New Issue