aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authormattlangtree <matt@northofthree.com>2011-08-23 06:36:24 +0000
committermattlangtree <matt@northofthree.com>2011-08-23 06:36:24 +0000
commitc6508b3e62e60c67a2b7d3adc0e18556b8e441fe (patch)
tree8158d8e0b7b2e21a36b4a5f6e9a20e49beadefb6 /Source/SPBundleEditorController.m
parent8ec90a3e7efa8d4399a377752e66783776de4865 (diff)
downloadsequelpro-c6508b3e62e60c67a2b7d3adc0e18556b8e441fe.tar.gz
sequelpro-c6508b3e62e60c67a2b7d3adc0e18556b8e441fe.tar.bz2
sequelpro-c6508b3e62e60c67a2b7d3adc0e18556b8e441fe.zip
Fix for Bundle Editor Group names not showing up in Lion.
Diffstat (limited to 'Source/SPBundleEditorController.m')
-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 @"";
}