aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPOutlineView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-25 13:53:52 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-25 13:53:52 +0000
commit946b196134295d5bb1d030b2c51e04930bcdd17f (patch)
treeb32df070ca636794e4cbdec2e16ef717c249c49f /Source/SPOutlineView.m
parent6a4fab961e1efd1f8eb55aa2806f17cde027f36c (diff)
downloadsequelpro-946b196134295d5bb1d030b2c51e04930bcdd17f.tar.gz
sequelpro-946b196134295d5bb1d030b2c51e04930bcdd17f.tar.bz2
sequelpro-946b196134295d5bb1d030b2c51e04930bcdd17f.zip
• further work on Bundle Editor's outline view
- still not entirely workable
Diffstat (limited to 'Source/SPOutlineView.m')
-rw-r--r--Source/SPOutlineView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPOutlineView.m b/Source/SPOutlineView.m
index 1cf5055a..256090e2 100644
--- a/Source/SPOutlineView.m
+++ b/Source/SPOutlineView.m
@@ -55,7 +55,7 @@
[[self window] makeFirstResponder:self];
}
- if (![[self itemAtRow:[self selectedRow]] isLeaf])
+ if ([self levelForItem:[self itemAtRow:[self selectedRow]]] < 1)
return nil;
return [self menu];
}