ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=6cf426e24a516ec893c95ba38c1436042297e399
commit 6cf426e24a516ec893c95ba38c1436042297e399 Author: Andy Williams <[email protected]> Date: Mon Mar 27 21:57:44 2017 +0100 filepanel: Update directory context after refactoring --- src/bin/edi_filepanel.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bin/edi_filepanel.c b/src/bin/edi_filepanel.c index b99ceb7..1031ff9 100644 --- a/src/bin/edi_filepanel.c +++ b/src/bin/edi_filepanel.c @@ -721,8 +721,14 @@ const char * edi_filepanel_selected_path_get(Evas_Object *obj EINA_UNUSED) { Elm_Object_Item *it; + Edi_Dir_Data *sd; it = elm_genlist_selected_item_get(list); - return elm_object_item_data_get(it); + sd = elm_object_item_data_get(it); + + if (!sd) + return NULL; + + return sd->path; } --
