aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorOutlineView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPNavigatorOutlineView.m')
-rw-r--r--Source/SPNavigatorOutlineView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNavigatorOutlineView.m b/Source/SPNavigatorOutlineView.m
index 17252750..c0772ebd 100644
--- a/Source/SPNavigatorOutlineView.m
+++ b/Source/SPNavigatorOutlineView.m
@@ -44,7 +44,7 @@
{
// Enter or Return selects in active document the chosen item
if ([self numberOfSelectedRows] == 1 && ([theEvent keyCode] == 36 || [theEvent keyCode] == 76)) {
- [[self delegate] selectInActiveDocumentItem:[self itemAtRow:[self selectedRow]] fromView:self];
+ [(SPNavigatorController *)[self delegate] selectInActiveDocumentItem:[self itemAtRow:[self selectedRow]] fromView:self];
return;
}