genlist: set missed item reference.

this missing would cause crash of the genlist when it's items are cleared.
This commit is contained in:
ChunEon Park 2015-01-14 22:07:00 +09:00
parent 3be81fa24c
commit 9cd1e83c24
1 changed files with 1 additions and 0 deletions

View File

@ -6145,6 +6145,7 @@ _elm_genlist_item_insert_before(Eo *obj, Elm_Genlist_Data *sd, const Elm_Genlist
(sd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(before));
it->item->rel = before;
GL_IT(before)->rel_revs = eina_list_append(GL_IT(before)->rel_revs, it);
it->item->before = EINA_TRUE;
_item_queue(sd, it, NULL);