Fix the defect - OnTerminating() callback is not called when it's the SplitPanel...
authorjaewon7.cho <jaewon7.cho@samsung.com>
Sat, 1 Jun 2013 00:19:31 +0000 (05:49 +0530)
committerjaewon7.cho <jaewon7.cho@samsung.com>
Sat, 1 Jun 2013 00:19:31 +0000 (05:49 +0530)
Change-Id: I1551153517b07ef87875b1279c8614039ac8c9df
Signed-off-by: jaewon7.cho <jaewon7.cho@samsung.com>
src/ui/FUi_ContainerImpl.cpp

index d05dd33..d24e218 100644 (file)
@@ -191,8 +191,7 @@ _ContainerImpl::Destroy(void)
                _Control* pParent = GetCore().GetParent();
                if (pParent)
                {
-                       ControlList& children = pParent->GetChildList();
-                       r = children.Remove(&GetCore());
+                       pParent->DetachChild(GetCore());
                }
        }
        RemoveAllChildren(true);