elm genlist: Fixed tree effect bug. Patch by Chanwook Jung
<jchanwook@gmail.com>
On Wed, Mar 28, 2012 at 3:06 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> I added one line to fix the bug at tree effect. If the item is equal
to
> expanded_next_item, expanded_next_item set to NULL in _item_del
>
> Thanks,
> Joey
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69691
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
it->wd->anchor_item = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev);
}
if (it->wd->expanded_item == it) it->wd->expanded_item = NULL;
+ if (it->wd->expanded_next_item == it) it->wd->expanded_next_item = NULL;
if (it->parent)
it->parent->item->items = eina_list_remove(it->parent->item->items, it);
if (it->item->swipe_timer) ecore_timer_del(it->item->swipe_timer);