diff --git a/PBSourceViewCell.m b/PBSourceViewCell.m index 2c9fd5a..1f2f809 100644 --- a/PBSourceViewCell.m +++ b/PBSourceViewCell.m @@ -33,7 +33,7 @@ NSPoint point = [self.controlView convertPoint:[event locationInWindow] fromView:nil]; NSInteger row = [view rowAtPoint:point]; - PBGitSidebarController *controller = [view delegate]; + PBGitSidebarController *controller = (PBGitSidebarController*)[view delegate]; return [controller menuForRow:row]; }