forked from enlightenment/efl
elementary: fix genlist sorted insert to not loose track of subitem.
SVN revision: 61901
This commit is contained in:
parent
506710c9d1
commit
e9b0c2b458
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue