equal
deleted
inserted
replaced
124 |
124 |
125 NSInteger row = [indexPath row]; |
125 NSInteger row = [indexPath row]; |
126 NSString *selectedWeaponFile = [self.listOfWeapons objectAtIndex:row]; |
126 NSString *selectedWeaponFile = [self.listOfWeapons objectAtIndex:row]; |
127 |
127 |
128 // this must be set so childController can load the correct plist |
128 // this must be set so childController can load the correct plist |
129 childController.title = [selectedWeaponFile stringByDeletingPathExtension]; |
129 childController.weaponName = [selectedWeaponFile stringByDeletingPathExtension]; |
130 [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
130 [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
131 |
131 |
132 [self.navigationController pushViewController:childController animated:YES]; |
132 [self.navigationController pushViewController:childController animated:YES]; |
133 } |
133 } |
134 |
134 |