From c6508b3e62e60c67a2b7d3adc0e18556b8e441fe Mon Sep 17 00:00:00 2001 From: mattlangtree Date: Tue, 23 Aug 2011 06:36:24 +0000 Subject: Fix for Bundle Editor Group names not showing up in Lion. --- Source/SPBundleEditorController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index f4863a55..ba053236 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -1242,8 +1242,8 @@ - (id)outlineView:(id)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item { - if(item && [item respondsToSelector:@selector(objectForKey:)]) - return [item objectForKey:kBundleNameKey]; + if(item && [[item representedObject] respondsToSelector:@selector(objectForKey:)]) + return [[item representedObject] objectForKey:kBundleNameKey]; return @""; } -- cgit v1.2.3