bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=652533e27d718366087792154e597a10ca9b54bb

commit 652533e27d718366087792154e597a10ca9b54bb
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Fri Nov 8 12:10:50 2019 -0800

    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 <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D10631
---
 src/lib/ecore/efl_composite_model.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 


Reply via email to