mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-19 14:55:01 +00:00
Resign as first responder only if CPSearchField and its super agree to.
This commit is contained in:
1 parent
69273259a5
commit
673f12164f
1 file changed
+1
-4
@@ -475,10 +475,7 @@ var RECENT_SEARCH_PREFIX = @" ";
|
||||
|
||||
- (BOOL)resignFirstResponder
|
||||
{
|
||||
if (_canResignFirstResponder)
|
||||
[super resignFirstResponder];
|
||||
|
||||
return _canResignFirstResponder;
|
||||
return _canResignFirstResponder && [super resignFirstResponder];
|
||||
}
|
||||
|
||||
- (void)mouseDown:(CPEvent)anEvent
|
||||
|
||||
Reference in new issue
Block a user