forked from mirrors/linphone-iphone
fix crash when add empty entry in sip address and cancle edit a contact
This commit is contained in:
parent
2285414d01
commit
1ff2cbfd7b
1 changed files with 0 additions and 6 deletions
|
|
@ -258,12 +258,6 @@
|
|||
(showEmails && section == ContactSections_Email)) {
|
||||
|
||||
[self removeEmptyEntry:self.tableView section:section animated:NO];
|
||||
// the section is empty -> remove titles
|
||||
if ([[self getSectionData:section] count] == 0) {
|
||||
[self.tableView
|
||||
reloadSections:[NSIndexSet indexSetWithIndex:section]
|
||||
withRowAnimation:animated ? UITableViewRowAnimationFade : UITableViewRowAnimationNone];
|
||||
}
|
||||
}
|
||||
}
|
||||
_editButton.enabled = YES;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue