From c7cfcc43f20904255cc00fb22ad3b913a6f1aa70 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Wed, 12 Jun 2013 15:03:47 +0900 Subject: [PATCH] elc_fileselector.c: check null path before fileselector populate. If no path was selected we don't need to populate fileselector. This fixes https://phab.enlightenment.org/T132. Thanks uartie for the report. --- legacy/elementary/src/lib/elc_fileselector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/elementary/src/lib/elc_fileselector.c b/legacy/elementary/src/lib/elc_fileselector.c index a7064164f2..7aafda512f 100644 --- a/legacy/elementary/src/lib/elc_fileselector.c +++ b/legacy/elementary/src/lib/elc_fileselector.c @@ -417,6 +417,7 @@ _populate(Evas_Object *obj, Elm_Object_Item *parent_it) { ELM_FILESELECTOR_DATA_GET(obj, sd); + if (!path) return; #ifdef HAVE_EIO Listing_Request *lreq;