Edje entry: fix selection start with shift + mouse_down

Fixes T3043.

Starting a selection should be possible with shift + mouse_down. No need to
check the "have_selection" flag.

@fix
This commit is contained in:
Daniel Hirt 2016-09-05 14:25:19 +03:00
parent f52ffec5dd
commit 2e53068907
1 changed files with 4 additions and 2 deletions

View File

@ -2538,8 +2538,10 @@ _edje_part_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_
}
else
{
if ((en->have_selection) && (shift))
_sel_extend(en->ed, en->cursor, rp->object, en);
if (shift)
{
_sel_extend(en->ed, en->cursor, rp->object, en);
}
else
{
en->selecting = EINA_TRUE;