Fix bug 310989, Use user-set autocomplete keybinding in location bar, r=smorgan, sr=pinkerton. Patch by Ulrik Svedrup <englabenny@macnytt.com>. Camino-only.
git-svn-id: svn://10.0.0.236/trunk@193838 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user