rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=4b87915e87a9b6948c77641214a957aa752cbe71
commit 4b87915e87a9b6948c77641214a957aa752cbe71 Author: Vitalii Vorobiov <[email protected]> Date: Thu Nov 5 14:55:58 2015 +0200 Popup: do not delete list of selected files returned by fileselector while multi It caused abort while adding images in image editor @fix --- src/bin/ui/popup.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c index 03f11f1..75d20c2 100644 --- a/src/bin/ui/popup.c +++ b/src/bin/ui/popup.c @@ -157,10 +157,12 @@ _done(void *data __UNUSED__, selected_paths = eina_list_append(selected_paths, selected); } res = ((Helper_Done_Cb)dismiss_func)(func_data, obj, selected_paths); + + if (!elm_fileselector_multi_select_get(fs)) + EINA_LIST_FREE(selected_paths, selected) + eina_stringshare_del(selected); } - EINA_LIST_FREE(selected_paths, selected) - eina_stringshare_del(selected); if (res) { dismiss_func = NULL; --
