Skip to content

Commit

Permalink
Fixed: token field auto completions.
Browse files Browse the repository at this point in the history
Auto completions are strings, not represented objects. Revert "Fix CPTokenField autocompletion to deal with represented objects"

This reverts commit 8b9a0ed.
  • Loading branch information
aljungberg committed Jun 16, 2012
1 parent ca0a07c commit 7ffd654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPTokenField.j
Expand Up @@ -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
Expand Down

0 comments on commit 7ffd654

Please sign in to comment.