mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Explicit cast is needed if we abuse the delegate that way.
This commit is contained in:
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user