]> cloud.milkyroute.net Git - dolphin.git/commit
Remove hover highlight before opening view context menu
authorFelix Ernst <fe.a.ernst@gmail.com>
Thu, 26 May 2022 08:38:15 +0000 (10:38 +0200)
committerFelix Ernst <fe.a.ernst@gmail.com>
Fri, 27 May 2022 10:00:05 +0000 (10:00 +0000)
commitf7365aa9ca9d1242cb2a0c4505c64e2ab05e0d67
treec4fb2ee222efc4e07a14b3fcba154f8db146f66b
parentb2f18e411a929665257dad8c6a51f3e2e617cee5
Remove hover highlight before opening view context menu

If one was fast to open the right-click context menu on the row of
an item in details view mode, the hover highlight would persist
while the context menu for the view was open.

This one-liner makes it so the highlight on the row is always
removed before the right-click context menu for the view is opened
so it is as clear as possible that the newly opened context menu
has no relation to the fileItem.
src/kitemviews/kitemlistcontroller.cpp