forked from enlightenment/enventor
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:
parent
31d07e5590
commit
f49cf431b7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue