forked from mirrors/linphone-iphone
UICheckBoxTableView.m: fix all/none selections toggle where lines where not highlighted as expected
This commit is contained in:
parent
cc81f9dfaf
commit
93e57c0fb7
1 changed files with 6 additions and 0 deletions
|
|
@ -149,7 +149,13 @@
|
|||
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
|
||||
if (!_toggleSelectionButton.selected) {
|
||||
[_selectedItems addObject:indexPath];
|
||||
[self.tableView selectRowAtIndexPath:indexPath
|
||||
animated:NO
|
||||
scrollPosition:UITableViewScrollPositionNone];
|
||||
} else {
|
||||
[self.tableView deselectRowAtIndexPath:indexPath animated:NO];
|
||||
}
|
||||
|
||||
[self accessoryForCell:cell atPath:indexPath];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue