forked from enlightenment/efl
edje/edje_edit: fix part add bug
Summary: Invert the check of the ed->file. If the ed->file is NULL then return EINA_FALSE. @fix Reviewers: raster, cedric, seoz CC: cedric Differential Revision: https://phab.enlightenment.org/D603 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
This commit is contained in:
parent
2a1c6e02fb
commit
b749565278
|
@ -2193,7 +2193,7 @@ _edje_edit_real_part_add(Evas_Object *obj, const char *name, Edje_Part_Type type
|
|||
if (_edje_real_part_get(ed, name))
|
||||
return EINA_FALSE;
|
||||
|
||||
if (ed->file) return EINA_FALSE;
|
||||
if (!ed->file) return EINA_FALSE;
|
||||
|
||||
ce = eina_hash_find(ed->file->collection, ed->group);
|
||||
|
||||
|
|
Loading…
Reference in New Issue