diff -r e6ce1a337e0f -r 047eaed35cbb project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Fri Sep 30 17:04:20 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Sat Oct 01 02:40:26 2011 +0200 @@ -43,6 +43,8 @@ action:@selector(toggleEdit:)]; self.navigationItem.rightBarButtonItem = editButton; [editButton release]; + + self.navigationItem.title = @"List of teams"; } // load the list of teams in the teams directory @@ -131,7 +133,7 @@ [teamFile release]; [self.listOfTeams removeObjectAtIndex:row]; - [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; + [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; } @@ -150,6 +152,7 @@ [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO]; [self.navigationController pushViewController:childController animated:YES]; + [tableView deselectRowAtIndexPath:indexPath animated:YES]; }