From: chanwook jung <jchanwook@gmail.com>

Subject: [E-devel] [Patch][Genlist] fix the bug in _elm_genlist_item_del_notserious

I made a patch to fix the bug in _elm_genlist_item_del_notserious.
If relcount is not 0 or walking is not 0, return.



SVN revision: 70291
This commit is contained in:
chanwook jung 2012-04-18 09:07:36 +00:00 committed by Carsten Haitzler
parent e72d8001e4
commit 55138d3bd2
1 changed files with 3 additions and 0 deletions

View File

@ -5897,6 +5897,9 @@ _elm_genlist_item_del_notserious(Elm_Gen_Item *it)
{
elm_widget_item_pre_notify_del(it);
it->generation = it->wd->generation - 1; /* This means that the item is deleted */
if ((it->relcount > 0) || (it->walking > 0)) return;
if (it->selected) it->wd->selected = eina_list_remove(it->wd->selected, it);
if (it->itc->func.del)