fix adding trackers

This commit is contained in:
Mitchell Livingston 2010-02-08 04:17:41 +00:00
parent 6959cbac6f
commit 4489c25fdf
1 changed files with 2 additions and 2 deletions

View File

@ -681,7 +681,7 @@ typedef enum
{
id item = [fTrackers objectAtIndex: row];
if (![item isKindOfClass: [TrackerNode class]])
if ([item isKindOfClass: [NSDictionary class]])
{
NSString * tierString = [NSString stringWithFormat: NSLocalizedString(@"Tier %d", "Inspector -> tracker table"),
[[item objectForKey: @"Tier"] integerValue]];
@ -690,7 +690,7 @@ typedef enum
return tierString;
}
else
return item;
return item; //TrackerNode or NSString
}
return nil;
}