Summary: @fix
Reviewers: raster, seoz, SanghyeonLee
Subscribers: sachin.dev, seoz
Differential Revision: https://phab.enlightenment.org/D2730
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Eina_List *list;
ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd);
- it->long_timer = NULL;
if (_is_no_select(it) ||
eo_do_ret(EO_OBJ(it), tmp, elm_wdg_item_disabled_get()) || (it->dragging))
- return ECORE_CALLBACK_CANCEL;
+ goto end;
sd->longpressed = EINA_TRUE;
evas_object_smart_callback_call(WIDGET(it), SIG_LONGPRESSED, EO_OBJ(it));
edje_object_signal_emit(VIEW(it), SIGNAL_REORDER_ENABLED, "elm");
}
+end:
+ it->long_timer = NULL;
return ECORE_CALLBACK_CANCEL;
}