Updated responder chain handling for view controller

This commit is contained in:
michael starke
2013-03-03 20:14:54 +01:00
parent 54b8afdda4
commit 4c59a137a2
7 changed files with 25 additions and 12 deletions

View File

@@ -196,11 +196,9 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
#pragma mark Notifications
- (void)_didChangeGroupSelectionInOutlineView:(NSNotification *)notification {
if([self hasFilter]) {
return;
[(MPMainWindowController *)[[self.view window] windowController] clearFilter:nil];
}
[self clearFilter];
MPOutlineViewDelegate *delegate = [notification object];
KdbGroup *group = delegate.selectedGroup;
if(group) {