Fixed: token field auto completions.

Auto completions are strings, not represented objects. Revert "Fix CPTokenField autocompletion to deal with represented objects"

This reverts commit 8b9a0edeba.
This commit is contained in:
Alexander Ljungberg committed 2012-06-16 12:31:47 +01:00
1 parent ca0a07cab8
commit 7ffd65476b
1 file changed
+1 -1
+1 -1
View File
@@ -1126,7 +1126,7 @@ var CPThemeStateAutoCompleting = @"CPThemeStateAutoCompleting",
- (void)tableView:(CPTableView)tableView objectValueForTableColumn:(CPTableColumn)tableColumn row:(int)row
{
return [self tokenField:self displayStringForRepresentedObject:[_cachedCompletions objectAtIndex:row]];
return [_cachedCompletions objectAtIndex:row];
}
- (void)tableViewSelectionDidChange:(CPNotification)notification