Skip to content

Commit

Permalink
Fix a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
barijaona committed Sep 25, 2015
1 parent 28098d8 commit ecd2738
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/UnifiedDisplayView.m
Expand Up @@ -343,7 +343,10 @@ - (void)webViewLoadFinished:(NSNotification *)notification
}
else { //non relevant cell
[cell setInProgress:NO];
[articleList reloadDataForRowIndexes:[NSIndexSet indexSetWithIndex:row] columnIndexes:[NSIndexSet indexSetWithIndex:0]];
if (row < [[articleController allArticles] count])
{
[articleList reloadDataForRowIndexes:[NSIndexSet indexSetWithIndex:row] columnIndexes:[NSIndexSet indexSetWithIndex:0]];
}
}
} else {
// not an ArticleCellView anymore
Expand Down

0 comments on commit ecd2738

Please sign in to comment.