diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2019-11-08 12:10:50 -0800 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-11-13 21:16:14 +0100 |
commit | 652533e27d718366087792154e597a10ca9b54bb (patch) | |
tree | 07786c32f7eb7ebdcb8db5397b91a7a1fb3d4273 | |
parent | 6cec0df499f16f452ceeba270384cb476a5f3ce8 (diff) | |
download | efl-652533e27d718366087792154e597a10ca9b54bb.tar.gz |
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
-rw-r--r-- | src/lib/ecore/efl_composite_model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/efl_composite_model.c b/src/lib/ecore/efl_composite_model.c index b3896bc99e..ad0c62b7e4 100644 --- a/src/lib/ecore/efl_composite_model.c +++ b/src/lib/ecore/efl_composite_model.c @@ -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 |