forked from enlightenment/efl
entry: clear selection before selecting new one
This commit is contained in:
parent
0df9bd2cdb
commit
325bf9ab78
|
@ -4212,12 +4212,11 @@ _edje_entry_imf_event_selection_set_cb(void *data, Ecore_IMF_Context *ctx EINA_U
|
|||
(rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
|
||||
return;
|
||||
|
||||
_sel_clear(ed, en->cursor, rp->object, en);
|
||||
evas_textblock_cursor_pos_set(en->cursor, ev->start);
|
||||
|
||||
_sel_enable(ed, en->cursor, rp->object, en);
|
||||
_sel_start(en->cursor, rp->object, en);
|
||||
|
||||
evas_textblock_cursor_pos_set(en->cursor, ev->end);
|
||||
|
||||
_sel_extend(ed, en->cursor, rp->object, en);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue