project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m
changeset 6074 047eaed35cbb
parent 5984 6fd40d866342
child 6103 55ecfbf834e3
--- a/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m	Fri Sep 30 17:04:20 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m	Sat Oct 01 02:40:26 2011 +0200
@@ -41,6 +41,8 @@
                                                                   action:@selector(toggleEdit:)];
     self.navigationItem.rightBarButtonItem = editButton;
     [editButton release];
+
+    self.navigationItem.title = @"List of schemes";
 }
 
 -(void) viewWillAppear:(BOOL) animated {
@@ -126,7 +128,7 @@
     [schemeFile release];
 
     [self.listOfSchemes removeObjectAtIndex:row];
-    [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
+    [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
 }
 
 #pragma mark -
@@ -144,6 +146,7 @@
     [childController.tableView setContentOffset:CGPointMake(0,0) animated:NO];
 
     [self.navigationController pushViewController:childController animated:YES];
+    [tableView deselectRowAtIndexPath:indexPath animated:YES];
 }