equal
deleted
inserted
replaced
86 |
86 |
87 |
87 |
88 #pragma mark - |
88 #pragma mark - |
89 #pragma mark Table view delegate |
89 #pragma mark Table view delegate |
90 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
90 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
91 int newRow = [indexPath row]; |
91 NSInteger newRow = [indexPath row]; |
92 int oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1; |
92 NSInteger oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1; |
93 |
93 |
94 if (newRow != oldRow) { |
94 if (newRow != oldRow) { |
95 [teamDictionary setObject:[[graveArray objectAtIndex:newRow] stringByDeletingPathExtension] forKey:@"grave"]; |
95 [teamDictionary setObject:[[graveArray objectAtIndex:newRow] stringByDeletingPathExtension] forKey:@"grave"]; |
96 |
96 |
97 // tell our boss to write this new stuff on disk |
97 // tell our boss to write this new stuff on disk |