unselecting all ilist items will no longer fail to unselect all ilist items
SVN revision: 79826
This commit is contained in:
parent
af38ddf0a6
commit
ab52c7a2ee
|
@ -261,17 +261,12 @@ e_ilist_size_min_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
|
|||
EAPI void
|
||||
e_ilist_unselect(Evas_Object *obj)
|
||||
{
|
||||
E_Ilist_Item *si = NULL;
|
||||
|
||||
API_ENTRY return;
|
||||
|
||||
if (!sd->items) return;
|
||||
if (sd->selected < 0) return;
|
||||
EINA_LIST_FREE(sd->selected_items, si)
|
||||
{
|
||||
if (!si) continue;
|
||||
_item_unselect(si);
|
||||
}
|
||||
while (sd->selected_items)
|
||||
_item_unselect(sd->selected_items->data);
|
||||
sd->selected = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue