- Better handling of cell's tag in SingleTeamViewController ios-revival
authorantonc27 <antonc27@mail.ru>
Fri, 30 Oct 2015 00:01:26 +0100
branchios-revival
changeset 11258 407045ffe343
parent 11257 62d1a66b353d
child 11259 e62204257a2d
- Better handling of cell's tag in SingleTeamViewController
project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
--- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Thu Oct 29 23:59:51 2015 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Fri Oct 30 00:01:26 2015 +0100
@@ -225,8 +225,8 @@
                 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault
                                                reuseIdentifier:CellIdentifier1] autorelease];
                 editableCell.delegate = self;
-                editableCell.tag = [indexPath row];
             }
+            editableCell.tag = [indexPath row];
 
             hogArray = [self.teamDictionary objectForKey:@"hedgehogs"];