forked from enlightenment/efl
genlist : fixing wrong item realize bug when block is changed
Summary : If current realized item is changed to another block which was unrealized, item still stay in realized states because new block is unrealized. so when adding item to new block, adding realized state check to change block realized state correctly. Test Plan : The issue is happen in eflete edc group list view. when you expand and contract the tree view, if child is bigger then block size, items under the current tree still floating on the child items. Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
This commit is contained in:
parent
3d13678450
commit
7b6cd2862d
|
@ -4533,6 +4533,8 @@ newblock:
|
|||
itbp->items = eina_list_append(itbp->items, it2);
|
||||
it2->item->block = itbp;
|
||||
itbp->count++;
|
||||
|
||||
if (it2->realized) itbp->realized = EINA_TRUE;
|
||||
}
|
||||
|
||||
done = EINA_TRUE;
|
||||
|
@ -4558,6 +4560,8 @@ newblock:
|
|||
itbn->items = eina_list_prepend(itbn->items, it2);
|
||||
it2->item->block = itbn;
|
||||
itbn->count++;
|
||||
|
||||
if (it2->realized) itbn->realized = EINA_TRUE;
|
||||
}
|
||||
|
||||
done = EINA_TRUE;
|
||||
|
@ -4586,6 +4590,8 @@ newblock:
|
|||
itb2->items = eina_list_prepend(itb2->items, it2);
|
||||
it2->item->block = itb2;
|
||||
itb2->count++;
|
||||
|
||||
if (it2->realized) itb2->realized = EINA_TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue