project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m
changeset 3660 bc125bea5849
parent 3547 02875b1145b7
child 3662 a44406f4369b
equal deleted inserted replaced
3659:f8d5ac50e307 3660:bc125bea5849
   130     
   130     
   131     NSInteger row = [indexPath row];
   131     NSInteger row = [indexPath row];
   132     NSString *selectedTeamFile = [listOfTeams objectAtIndex:row];
   132     NSString *selectedTeamFile = [listOfTeams objectAtIndex:row];
   133     
   133     
   134     // this must be set so childController can load the correct plist
   134     // this must be set so childController can load the correct plist
   135     childController.title = [selectedTeamFile stringByDeletingPathExtension];
   135     childController.teamName = [selectedTeamFile stringByDeletingPathExtension];
   136     [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO];
   136     [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO];
   137 
   137 
   138     [self.navigationController pushViewController:childController animated:YES];
   138     [self.navigationController pushViewController:childController animated:YES];
   139 }
   139 }
   140 
   140