]> cloud.milkyroute.net Git - dolphin.git/commit
Fix delete action switching via 'Shift' when sub-context-menu is open
authorDerek Christ <christ.derek@gmail.com>
Thu, 15 Oct 2020 21:11:17 +0000 (23:11 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Mon, 23 Nov 2020 22:07:31 +0000 (22:07 +0000)
commit9e4642d435085f27134ed6c8431734dcacf65834
treee3b1cd42199c70935a405dc614e6fc8833aac454
parentc3b238bbe924f5c58496407ceb9f90c88c0738fa
Fix delete action switching via 'Shift' when sub-context-menu is open

Switching the 'Move to Trash' action to 'Delete' using the shift key
does not work when the mouse hovers a submenu. This fix resolves the
issue by using an event filter instead of the key event functions.

BUG: 425997
src/dolphincontextmenu.cpp
src/dolphincontextmenu.h