Fixed accidentally triggering menus during bookmark search

Authored by rade on Mar 23 2018, 6:44 PM.

Description

Fixed accidentally triggering menus during bookmark search

Because of qt bug 939 setActiveAction triggers menus.
This code ensures that we only highlight non menu items to avoid triggering
the menus until the menu is the only match. It also adds a return true
statement to tell others that we have handled the event that
it should there for not be handled further.

Reviewed By: nmel, martinkostolny
Edited By: nmel

Differential Revision: https://phabricator.kde.org/D11525

Details

Committed
nmelMar 24 2018, 5:57 AM
Reviewer
nmel
Differential Revision
D11525: Fix accidentally triggering menus
Parents
R167:2841d0f45dc6: Fixed bookmark search when started with S or J, improved menu style
Branches
Unknown
Tags
Unknown