diff options
author | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-06-12 15:03:47 +0900 |
---|---|---|
committer | Daniel Juyung Seo <seojuyung2@gmail.com> | 2013-06-12 15:03:49 +0900 |
commit | 5820d6d3e4a60ea95ae075c454db2bd405b93d79 (patch) | |
tree | 962417087b532d0ad5eef124b9a2acf77f15bf21 /src/lib/elc_fileselector.c | |
parent | 6cc2851d459179967efa2f67d3e48dde5c3738fb (diff) | |
download | elementary-5820d6d3e4a60ea95ae075c454db2bd405b93d79.tar.gz |
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.
Diffstat (limited to 'src/lib/elc_fileselector.c')
-rw-r--r-- | src/lib/elc_fileselector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c index a7064164f..7aafda512 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; |