зеркало из https://github.com/mozilla/gecko-dev.git
allow tabbing between toolbar and urlbar when no autocomplete popup.
(from sbwoodside bug 152987).
This commit is contained in:
Родитель
46b12ccdd6
Коммит
5c39722c8b
|
@ -654,6 +654,11 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
|
|||
[self selectRowBy:1];
|
||||
[self completeSelectedResult];
|
||||
return YES;
|
||||
} else {
|
||||
// The usual nextKeyView business in the NIB should handle but it doesn't
|
||||
// this is basically a benign hack
|
||||
NSWindow* wind = [self window];
|
||||
[wind makeFirstResponder:wind];
|
||||
}
|
||||
} else if (command == @selector(deleteBackward:) ||
|
||||
command == @selector(deleteForward:)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче