bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=dd440c9f68b5f231a8099d0dfa5e38fd23e2156b
commit dd440c9f68b5f231a8099d0dfa5e38fd23e2156b Author: abdulleh Ghujeh <[email protected]> Date: Wed Aug 28 15:04:51 2019 +0000 efl_ui_text: EFL_UI_EVENT_SELECTION_CLEARED not called -Add a callback to ui_text for event EFL_UI_EVENT_SELECTION_CLEARED -Select any text in the ui_text -Clear selection by clicking any area by mouse or pressing arrows in keyboard -The selection get cleared but the callback will never be called. Reviewed-by: Tom Hacohen <[email protected]> Differential Revision: https://phab.enlightenment.org/D9771 --- src/lib/elementary/efl_ui_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c index 4e7004f02b..7b29f3e41e 100644 --- a/src/lib/elementary/efl_ui_text.c +++ b/src/lib/elementary/efl_ui_text.c @@ -3985,8 +3985,8 @@ _efl_ui_text_selection_changed_cb(void *data, const Efl_Event *event EINA_UNUSED if (!text || (text[0] == '\0')) { _edje_signal_emit(sd, "selection,cleared", "efl.text"); - sd->have_selection = EINA_FALSE; _selection_clear(data, 0); + sd->have_selection = EINA_FALSE; } else { --
