diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-07 18:19:08 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-14 13:47:07 +0900 |
commit | fa8de0a3bf3c02e6f00b7746e7e934db522cdda9 (patch) | |
tree | bac27fa8eb240dc0efa685f463772e8d155ca85a /scripts/atomic | |
parent | 5cb255ffa1e7337669616188e1b2f4bd48305d34 (diff) |
kconfig: qconf: do not limit the pop-up menu to the first row
If you right-click the first row in the option tree, the pop-up menu
shows up, but if you right-click the second row or below, the event
is ignored due to the following check:
if (e->y() <= header()->geometry().bottom()) {
Perhaps, the intention was to show the pop-menu only when the tree
header was right-clicked, but this handler is not called in that case.
Since the origin of e->y() starts from the bottom of the header,
this check is odd.
Going forward, you can right-click anywhere in the tree to get the
pop-up menu.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/atomic')
0 files changed, 0 insertions, 0 deletions