project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m
changeset 3548 4d220ee7c75f
parent 3547 02875b1145b7
child 3659 f8d5ac50e307
--- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m	Wed Jun 23 22:03:56 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m	Thu Jun 24 01:08:25 2010 +0200
@@ -115,14 +115,6 @@
     [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
 }
 
--(BOOL) tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
-    UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
-    if (![cell.textLabel.text isEqualToString:@"Default"]) 
-        return YES;
-    else
-        return NO;
-}
-
 #pragma mark -
 #pragma mark Table view delegate
 -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {