From 1c00bdb17f7701e355fd873e77b064b93089ebde Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Tue, 24 Jul 2018 09:26:12 +0100 Subject: [PATCH] goto line: fix crash when inputting with keyboard. When using keyboard the incorrect object was being passed to the goto method. It would crash. --- src/bin/mainview/edi_mainview_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/mainview/edi_mainview_panel.c b/src/bin/mainview/edi_mainview_panel.c index 3b4d7e3..152ae0b 100644 --- a/src/bin/mainview/edi_mainview_panel.c +++ b/src/bin/mainview/edi_mainview_panel.c @@ -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