diff --git a/camino/src/browser/AutoCompleteTextField.mm b/camino/src/browser/AutoCompleteTextField.mm index a46a05faec6..898349c3e3a 100644 --- a/camino/src/browser/AutoCompleteTextField.mm +++ b/camino/src/browser/AutoCompleteTextField.mm @@ -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];