git rid of unnessary logic.
Previously, generated views were to terminated if the edj path is changed, but it's not quite useful at any scenarios. User may want to change just the edj output path without any input resources changes.
This commit is contained in:
parent
6c5edd4e34
commit
3c2a31a8ff
|
@ -514,18 +514,6 @@ _enventor_object_path_set(Eo *obj EINA_UNUSED,
|
|||
Enventor_Object_Data *pd EINA_UNUSED,
|
||||
Enventor_Path_Type type, const Eina_List *pathes)
|
||||
{
|
||||
//edj file is changed
|
||||
if (type == ENVENTOR_PATH_TYPE_EDJ)
|
||||
{
|
||||
const char *path = eina_list_data_get(pathes);
|
||||
const char *ppath = build_edj_path_get();
|
||||
if (path && ppath && strcmp(path, ppath))
|
||||
{
|
||||
edj_mgr_clear();
|
||||
eina_stringshare_del(pd->group_name);
|
||||
pd->group_name = NULL;
|
||||
}
|
||||
}
|
||||
return build_path_set(type, pathes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue