elm_list: prevent list item operations during item deletion

ref T6880

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>

Differential Revision: https://phab.enlightenment.org/D6066
This commit is contained in:
Mike Blumenkrantz 2018-04-11 17:26:09 -04:00 committed by Cedric BAIL
parent 499beb9162
commit 6932f0fdd6
1 changed files with 1 additions and 1 deletions

View File

@ -1325,7 +1325,7 @@ _elm_list_efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_List_Data *sd, Evas_O
(sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _size_hints_changed_cb,
obj);
_elm_list_item_elm_widget_item_del_pre(eo_it, it);
if (!sd->walking)
if (!sd->walking && efl_parent_get(obj))
{
_items_fix(obj);
elm_layout_sizing_eval(obj);