fix freeing of item that frees the expanded item

SVN revision: 68468
This commit is contained in:
Carsten Haitzler 2012-02-27 06:21:36 +00:00
parent f2f64d2ef9
commit 4691a2efc6
1 changed files with 1 additions and 0 deletions

View File

@ -813,6 +813,7 @@ _item_del(Elm_Gen_Item *it)
if (!it->wd->anchor_item)
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->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);