projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc2851
)
elc_fileselector.c: check null path before fileselector populate.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 12 Jun 2013 06:03:47 +0000
(15:03 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 12 Jun 2013 06:03:49 +0000
(15:03 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/elc_fileselector.c
b/src/lib/elc_fileselector.c
index
a706416
..
7aafda5
100644
(file)
--- 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;