Fixes the following bug:
- Use arrow keys to select a folder such as "Popular urls" (this works
if the folder was selected by searching as well e.g typing 'popu')
- Use right arrow to enter folder
- Use left arrow or esc to close the folder submenu. Folder item in main menu
remains highlighted and we receive a 'QEvent::Close' as expected
- Type a letter too search
- Search gets reset by two spurious QEvent::Close triggered by the folder loosing focus
Note that with this patch the search result will still loose focus, but this patch fixes the reset at least.