From d1e7eed0fb1fb2375a98058aa619123f22dddc2e Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Mon, 22 Jun 2015 14:20:14 +0900 Subject: [PATCH] recover the autocomplete backspace key issue. before change this, backspace is not working for auto complete, so user can't cancel the popup. this change is reverted to the old one code (118e86e0dda6180958e41219124c59cbdaa622d8) --- src/lib/auto_comp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c index 88713b5..aba3d82 100644 --- a/src/lib/auto_comp.c +++ b/src/lib/auto_comp.c @@ -348,8 +348,7 @@ anchor_unfocused_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, static void queue_reset(autocomp_data *ad) { - if (!ad->queue_pos && !ad->anchor_visible) - return; + if (ad->queue_pos == -1) return; ad->queue_pos = 0; memset(ad->queue, 0x0, sizeof(ad->queue)); entry_anchor_off(ad);