elementary: fix genlist sorted insert to not loose track of subitem.

SVN revision: 61901
This commit is contained in:
Cedric BAIL 2011-07-29 16:07:10 +00:00
parent 506710c9d1
commit e9b0c2b458
1 changed files with 1 additions and 1 deletions

View File

@ -3514,7 +3514,7 @@ elm_genlist_item_direct_sorted_insert(Evas_Object *obj,
else
rel = it->parent;
if (cmp_result > 0)
if (cmp_result >= 0)
{
it->parent->items = eina_list_prepend_relative_list(it->parent->items, it, l);
wd->items = eina_inlist_prepend_relative(wd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(rel));