seoz pushed a commit to branch master.

commit 5820d6d3e4a60ea95ae075c454db2bd405b93d79
Author: Daniel Juyung Seo <[email protected]>
Date:   Wed Jun 12 15:03:47 2013 +0900

    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.
---
 src/lib/elc_fileselector.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index a706416..7aafda5 100644
--- a/src/lib/elc_fileselector.c
+++ b/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;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to