Skip to content

Commit 99f4a7b

Browse files
committed
Merge pull request #603 from masanorythm/develop-v3
Fix CCTableView reloadData Former-commit-id: 6beea05
2 parents 66571c4 + 0982dd3 commit 99f4a7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cocos2d-ui/CCTableView.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ - (void) updateVisibleRows
289289

290290
- (void) reloadData
291291
{
292+
_currentlyVisibleRange = NSMakeRange(0, 0);
293+
292294
[self.contentNode removeAllChildrenWithCleanup:YES];
293295

294296
if (!_dataSource) return;

0 commit comments

Comments
 (0)