goto line: fix crash when inputting with keyboard.

When using keyboard the incorrect object was being passed
to the goto method. It would crash.
This commit is contained in:
Alastair Poole 2018-07-24 09:26:12 +01:00
parent 6c08adab9c
commit 1c00bdb17f
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ _edi_mainview_panel_goto_popup_key_up_cb(void *data, Evas *e EINA_UNUSED,
str = elm_object_text_get(obj);
if (strlen(str) && (!strcmp(ev->key, "KP_Enter") || !strcmp(ev->key, "Return")))
_edi_mainview_panel_goto_popup_go_cb(panel, obj, NULL);
_edi_mainview_panel_goto_popup_go_cb(obj, NULL, NULL);
}
void