Skip to content

Commit

Permalink
Update CCTableView.cpp (#18451)
Browse files Browse the repository at this point in the history
  • Loading branch information
summerinsects authored and minggo committed Nov 8, 2017
1 parent 540980a commit 8733b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/GUI/CCScrollView/CCTableView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void TableView::reloadData()
cell->reset();
if (cell->getParent() == this->getContainer())
{
this->getContainer()->removeChild(cell, true);
this->getContainer()->removeChild(cell, false);
}
}

Expand Down Expand Up @@ -426,7 +426,7 @@ void TableView::_moveCellOutOfSight(TableViewCell *cell)

if (cell->getParent() == this->getContainer())
{
this->getContainer()->removeChild(cell, true);
this->getContainer()->removeChild(cell, false);
}
}

Expand Down

0 comments on commit 8733b95

Please sign in to comment.