diff -r e6ce1a337e0f -r 047eaed35cbb project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Fri Sep 30 17:04:20 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Sat Oct 01 02:40:26 2011 +0200 @@ -42,6 +42,7 @@ self.navigationItem.rightBarButtonItem = editButton; [editButton release]; + self.navigationItem.title = @"List of weapons"; } -(void) viewWillAppear:(BOOL) animated { @@ -127,7 +128,7 @@ [schemeFile release]; [self.listOfWeapons removeObjectAtIndex:row]; - [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; + [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; } #pragma mark - @@ -145,6 +146,7 @@ [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO]; [self.navigationController pushViewController:childController animated:YES]; + [tableView deselectRowAtIndexPath:indexPath animated:YES]; }