forked from enlightenment/efl
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:
parent
e72d8001e4
commit
55138d3bd2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue