codestyle

This commit is contained in:
michael starke
2016-08-15 15:41:21 +02:00
parent 2e156daa2b
commit 45acd171ac

View File

@@ -307,10 +307,7 @@ static NSString *kMPContentBindingString3 = @"content.%@.%@.%@";
* *
* This stops the popover to close when the dialog is active. * This stops the popover to close when the dialog is active.
*/ */
if( ![[[[ popover contentViewController] view] window] makeFirstResponder: popover]) { return ![popover.contentViewController.view.window makeFirstResponder:popover];
return NO;
}
return YES;
} }
- (void)popoverDidClose:(NSNotification *)notification { - (void)popoverDidClose:(NSNotification *)notification {