Skip to content

Commit 0982dd3

Browse files
committed
Fix CCTableView reloadData
Former-commit-id: 0ab7f1b
1 parent a39eb57 commit 0982dd3

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)