config: Fixed null return.

Reviewers: cedric, singh.amitesh, seoz

Differential Revision: https://phab.enlightenment.org/D1663
This commit is contained in:
Anand 2014-11-26 07:35:03 +09:00 committed by Daniel Juyung Seo
parent dae6d34f39
commit 1a7d1e5f97
1 changed files with 1 additions and 0 deletions

View File

@ -2059,6 +2059,7 @@ _font_names_list_sel(void *data EINA_UNUSED,
/* load styles list */
efp = eina_hash_find(fndata.font_hash, sel_font);
if (!efp) return;
ELM_LIST_ENABLE(style_list);
elm_list_clear(style_list);