forked from enlightenment/efl
elmentary: trigger selected event when mouse is up in index.
Summary: - selected callback should be called when the user releases a mouse button and selects an item. Reviewers: cedric, jpeg, Hermet, woohyun Subscribers: conr2d, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4022 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
32d1f4b2e5
commit
0023efb420
|
@ -857,6 +857,8 @@ _on_mouse_up(void *data,
|
|||
{
|
||||
eo_event_callback_call
|
||||
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, eo_item);
|
||||
eo_event_callback_call
|
||||
(data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item);
|
||||
eo_id_item = eo_item;
|
||||
ELM_INDEX_ITEM_DATA_GET(eo_id_item, id_item);
|
||||
if (id_item->func)
|
||||
|
|
Loading…
Reference in New Issue