}
[self setAccessoryType:editing ? UITableViewCellAccessoryNone : UITableViewCellAccessoryDisclosureIndicator];
+ [self setSelectionStyle:editing ? UITableViewCellSelectionStyleNone : UITableViewCellSelectionStyleBlue];
[content_ setNeedsDisplay];
}
}
- (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
- Section *section = [self sectionAtIndexPath:indexPath];
+ if (editing_) return;
+
+ Section *section = [self sectionAtIndexPath:indexPath];
NSString *name = [section name];
NSString *title;