project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
branchios-revival
changeset 11279 c0d6f6ffa798
parent 11148 064a53861759
child 11291 6b6d96077395
--- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Tue Nov 03 04:49:50 2015 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Tue Nov 03 21:43:05 2015 +0100
@@ -280,10 +280,10 @@
     UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
     // grab the associated labels
     UILabel *detailLabel = (UILabel *)cell.detailTextLabel;
-    UILabel *cellLabel = (UILabel *)[cell.contentView viewWithTag:LABEL_TAG];
     // modify it
 
-    checkValueString(detailLabel.text,cellLabel.text,theSlider);
+    NSString *basicSettingTitleKey = [[self.basicSettingList objectAtIndex:[indexPath row]] objectForKey:@"title"];
+    checkValueString(detailLabel.text,basicSettingTitleKey,theSlider);
 
     // save changes in the main array
     NSMutableArray *array = [self.schemeDictionary objectForKey:@"basic"];