aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPBundleEditorController.m4
1 files changed, 2 insertions, 2 deletions
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 @"";
}