Skip to content
Browse files

* [BUG] Need to set any accessoryController's nextResponder to avoid …

…borking the responder chain
  • Loading branch information...
1 parent a6826ee commit bfcb031659096af3d6ac0dc486fde738e45b35fc @mattball committed May 19, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 MBCoverFlowView.m
View
1 MBCoverFlowView.m
@@ -565,6 +565,7 @@ - (void)setAccessoryController:(NSViewController *)aController
if (aController != nil) {
_accessoryController = [aController retain];
[self addSubview:self.accessoryController.view];
+ [self.accessoryController setNextResponder:[self nextResponder]];
[self setNextResponder:self.accessoryController];
[self.accessoryController bind:@"representedObject" toObject:self withKeyPath:@"selectedObject" options:nil];
}

0 comments on commit bfcb031

Please sign in to comment.
Something went wrong with that request. Please try again.