Fix bug 310989, Use user-set autocomplete keybinding in location bar, r=smorgan, sr=pinkerton. Patch by Ulrik Svedrup <englabenny@macnytt.com>. Camino-only.
This commit is contained in:
Родитель
4ca4cc1563
Коммит
5f7f433fd2
|
@ -990,7 +990,11 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
|
|||
} else if (command == @selector(moveToEndOfDocument:)) {
|
||||
[self selectRowAt:[mTableView numberOfRows]-1];
|
||||
[self completeSelectedResult];
|
||||
} else if (command == @selector(insertTab:)) {
|
||||
} else if (command == @selector(complete:)) {
|
||||
[self selectRowBy:1];
|
||||
[self completeSelectedResult];
|
||||
return YES;
|
||||
} else if (command == @selector(insertTab:)) {
|
||||
if ([mPopupWin isVisible]) {
|
||||
[self selectRowBy:1];
|
||||
[self completeSelectedResult];
|
||||
|
|
Загрузка…
Ссылка в новой задаче