diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 2063b889f..399b272f5 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -485,12 +485,12 @@ CPRunContinuesResponse = -1002; if (!anAction) return NO; - if ([self tryToPerform:anAction with:anObject]) + if ([super tryToPerform:anAction with:anObject]) return YES; - if([_delegate respondsToSelector:aSelector]) + if([_delegate respondsToSelector:anAction]) { - [_delegate performSelector:aSelector withObject:anObject]; + [_delegate performSelector:anAction withObject:anObject]; return YES; }