forked from enlightenment/efl
elementary: fixed wrong error msg in fileselector
This commit is contained in:
parent
3f1466b77d
commit
963d2af974
|
@ -1666,8 +1666,7 @@ _resource_created_then(void *data, void *values)
|
|||
!_iterator_next_value_get(value_itt, &dir) ||
|
||||
!_iterator_next_value_get(value_itt, &size) ||
|
||||
!_iterator_next_value_get(value_itt, &mtime) ||
|
||||
!_iterator_next_value_get(value_itt, &mime_type) ||
|
||||
!_filter_child(sd, path, filename, dir, mime_type))
|
||||
!_iterator_next_value_get(value_itt, &mime_type))
|
||||
{
|
||||
ERR("missing Efl.Model data");
|
||||
eo_unref(it_data->model);
|
||||
|
@ -1675,6 +1674,13 @@ _resource_created_then(void *data, void *values)
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!_filter_child(sd, path, filename, dir, mime_type))
|
||||
{
|
||||
eo_unref(it_data->model);
|
||||
free(it_data);
|
||||
goto end;
|
||||
}
|
||||
|
||||
it_data->path = eina_stringshare_add(path);
|
||||
it_data->filename = eina_stringshare_add(filename);
|
||||
it_data->size = size;
|
||||
|
|
Loading…
Reference in New Issue