This patch fix Return key catching during documentation search. Current version process this key pressing only when user select some item in popup list. If no item is selected, then Retrun key does nothing:
- Open CMake documentation
- Type set in the search line edit.
- Completer will show popup with set keyword at beginning.
- Press Return - nothing happens.
It seems to be right to use first popup item as active item when Return is pressed.