Autocomplete: fix ability to disable functionality.

Summary:
Chack status of the flag *(autocomp_data)->enabled,
when entry "changed" callback is called.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2707
This commit is contained in:
Mykyta Biliavskyi 2015-06-16 13:22:36 +09:00 committed by ChunEon Park
parent 31d07e5590
commit f49cf431b7
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ entry_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
autocomp_data *ad = g_ad;
if (!g_ad) return;
if ((!g_ad) || (!ad->enabled)) return;
Elm_Entry_Change_Info *info = event_info;