summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-20 10:50:46 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-20 10:50:46 +0000
commit1d6072b8df4fe8ef8860592071299795475752e9 (patch)
tree70712cf66b671c78a79c55b5be481b54081c00eb /src
parent43932e7273a3c651e4e8ddda1a26346a7878e973 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index be96aff28..824334e6b 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -880,8 +880,10 @@ _item_del(Elm_Gen_Item *it)
880 ecore_animator_del(wd->tree_effect_animator); 880 ecore_animator_del(wd->tree_effect_animator);
881 wd->tree_effect_animator = NULL; 881 wd->tree_effect_animator = NULL;
882 } 882 }
883 wd->move_effect_mode = ELM_GENLIST_TREE_EFFECT_NONE;
883 } 884 }
884 if (wd->expanded_next_item == it) wd->expanded_next_item = NULL; 885 if (wd->expanded_next_item == it) wd->expanded_next_item = NULL;
886 if (wd->move_items) wd->move_items = eina_list_remove(wd->move_items, it);
885 if (it->parent) 887 if (it->parent)
886 it->parent->item->items = eina_list_remove(it->parent->item->items, it); 888 it->parent->item->items = eina_list_remove(it->parent->item->items, it);
887 if (it->item->swipe_timer) 889 if (it->item->swipe_timer)