ecore: remove the composited children from the source of an Efl.CompositeModel.

The composite model was erroneously giving the reference to a children composited model
instead of the origianl children which made it impossible for the composited model
to delete the right child.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10631
This commit is contained in:
Cedric BAIL 2019-11-08 12:10:50 -08:00 committed by Marcel Hollerbach
parent 6cec0df499
commit 652533e27d
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ _efl_composite_model_efl_model_child_del(Eo *obj EINA_UNUSED,
Efl_Composite_Model_Data *pd,
Efl_Object *child)
{
efl_model_child_del(pd->source, child);
efl_model_child_del(pd->source, efl_ui_view_model_get(child));
}
static void