There is two delete procedure
1. _item_free
2. _item_del_pre_process
focus NULL set should be added to _item_del_pre_process also
Change-Id: I9e05ad671a83bbeef005d18487946e2bbb17a25b
if (it->tooltip.del_cb)
it->tooltip.del_cb((void *)it->tooltip.data, WIDGET(it), it);
_item_free_common(it);
+
_item_unrealize(it, EINA_FALSE);
elm_genlist_item_class_unref((Elm_Genlist_Item_Class *)it->itc);
free(it->item);
sd->pending_del_items = eina_list_append(sd->pending_del_items, it);
}
+ if (sd->focused == it) sd->focused = NULL;
elm_widget_item_pre_notify_del(it);
if (it->itc->func.del)
it->itc->func.del((void *)it->base.data, WIDGET(it));