equal
deleted
inserted
replaced
102 |
102 |
103 |
103 |
104 #pragma mark - |
104 #pragma mark - |
105 #pragma mark Table view delegate |
105 #pragma mark Table view delegate |
106 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
106 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
107 int newRow = [indexPath row]; |
107 NSInteger newRow = [indexPath row]; |
108 int oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1; |
108 NSInteger oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1; |
109 |
109 |
110 if (newRow != oldRow) { |
110 if (newRow != oldRow) { |
111 [teamDictionary setObject:[voiceArray objectAtIndex:newRow] forKey:@"voicepack"]; |
111 [teamDictionary setObject:[voiceArray objectAtIndex:newRow] forKey:@"voicepack"]; |
112 |
112 |
113 // tell our boss to write this new stuff on disk |
113 // tell our boss to write this new stuff on disk |