forked from enlightenment/efl
elm_index: disable indicator when the selected item is unselected
Summary: in current code, indicator is disabled only when mouse up event happens. if the selected item is unselected through API before mouse up, the indicator will remain active while no item is selected (highlighted). Test Plan: None Reviewers: Hermet, seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D560
This commit is contained in:
parent
4053da6f6f
commit
0e6364aeef
|
@ -1235,6 +1235,9 @@ elm_index_item_selected_set(Elm_Object_Item *it,
|
|||
|
||||
edje_object_signal_emit(VIEW(it_inactive), "elm,state,inactive", "elm");
|
||||
edje_object_message_signal_process(VIEW(it_inactive));
|
||||
|
||||
// for the case in which the selected item is unselected before mouse up
|
||||
elm_layout_signal_emit(obj, "elm,indicator,state,inactive", "elm");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue