diff --git a/src/gui/view/viewgroup.cc b/src/gui/view/viewgroup.cc index b27e3cd8..52bf452c 100755 --- a/src/gui/view/viewgroup.cc +++ b/src/gui/view/viewgroup.cc @@ -633,7 +633,7 @@ void ViewGroup::detachViewsFromParent(int start, int count){ } void ViewGroup::removeFromArray(int index){ - if (isViewTransitioning(mChildren[index])){ + if (!isViewTransitioning(mChildren[index])){ mChildren[index]->mParent = nullptr; } if (index>=0&&index