entry - send selection,cleared signal if a selection is dismissed.

when the selection none was requested, the selection won't be cleared without the signal callback.

@fix
This commit is contained in:
ChunEon Park 2014-03-08 03:51:25 +09:00
parent d626f9278f
commit 55827d034d
1 changed files with 3 additions and 0 deletions

View File

@ -4059,6 +4059,9 @@ _select_none(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
(sd->entry_edje, "elm.text", EINA_FALSE);
edje_object_signal_emit(sd->entry_edje, "elm,state,select,off", "elm");
}
if (sd->have_selection)
evas_object_smart_callback_call(obj, SIG_SELECTION_CLEARED, NULL);
sd->have_selection = EINA_FALSE;
edje_object_part_text_select_none(sd->entry_edje, "elm.text");