forked from enlightenment/efl
index: send active signal(elm,state,active) to selected item in auto_fill
Summary: when index box is cleared and refilled, selected item's status still remains as selected but not highlighted. should send active signal to the selected item so that it is highlighted. Test Plan: None Reviewers: Hermet, seoz Reviewed By: seoz Differential Revision: https://phab.enlightenment.org/D559
This commit is contained in:
parent
83d00b0ab5
commit
ec676a543f
|
@ -251,6 +251,9 @@ _index_box_auto_fill(Evas_Object *obj,
|
|||
{
|
||||
it->head = head;
|
||||
head->omitted = eina_list_append(head->omitted, it);
|
||||
// if it is selected but omitted, send signal to it's head
|
||||
if (it->selected)
|
||||
edje_object_signal_emit(VIEW(it->head), "elm,state,active", "elm");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
@ -290,6 +293,9 @@ _index_box_auto_fill(Evas_Object *obj,
|
|||
evas_object_box_append(sd->bx[level], o);
|
||||
stacking = edje_object_data_get(o, "stacking");
|
||||
|
||||
if (it->selected)
|
||||
edje_object_signal_emit(o, "elm,state,active", "elm");
|
||||
|
||||
if (stacking)
|
||||
{
|
||||
if (!strcmp(stacking, "below")) evas_object_lower(o);
|
||||
|
|
Loading…
Reference in New Issue