mirror of
https://github.com/MacPass/MacPass.git
synced 2026-02-02 05:18:15 +00:00
Use properties
This commit is contained in:
@@ -341,7 +341,7 @@ NSString *const MPToolbarItemAutotype = @"TOOLBAR_AUTOTYPE";
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)_didExitSearch:(NSNotification *)notification {
|
- (void)_didExitSearch:(NSNotification *)notification {
|
||||||
[self.searchField setStringValue:@""];
|
self.searchField.stringValue = @"";
|
||||||
NSWindow *window = [self.searchField window];
|
NSWindow *window = [self.searchField window];
|
||||||
/* Resign first responder form search field only if it was the first responder */
|
/* Resign first responder form search field only if it was the first responder */
|
||||||
if(window.firstResponder == [self.searchField currentEditor]) {
|
if(window.firstResponder == [self.searchField currentEditor]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user