elm genlist: Remove item from moved_item when an item is deleted and set effect mode to none when the deleted item is an expanded_item.

SVN revision: 70359
This commit is contained in:
Daniel Juyung Seo 2012-04-20 10:50:46 +00:00
parent d133cec514
commit c1aab815f3
1 changed files with 2 additions and 0 deletions

View File

@ -880,8 +880,10 @@ _item_del(Elm_Gen_Item *it)
ecore_animator_del(wd->tree_effect_animator);
wd->tree_effect_animator = NULL;
}
wd->move_effect_mode = ELM_GENLIST_TREE_EFFECT_NONE;
}
if (wd->expanded_next_item == it) wd->expanded_next_item = NULL;
if (wd->move_items) wd->move_items = eina_list_remove(wd->move_items, it);
if (it->parent)
it->parent->item->items = eina_list_remove(it->parent->item->items, it);
if (it->item->swipe_timer)