From 2cf7b91829fda0721eb235d1c23adf6108424ad5 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 10 Jul 2020 03:39:19 -0400 Subject: [PATCH] Don't try to highlight first item on menu open() It's imprevisible where the menu is gonna open and this which item is gonna be under the mouse cursor. Also to match the behavior of other programs. --- src/gui/Base/HMenu.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/Base/HMenu.qml b/src/gui/Base/HMenu.qml index ec77691d..55b5532b 100644 --- a/src/gui/Base/HMenu.qml +++ b/src/gui/Base/HMenu.qml @@ -51,7 +51,6 @@ Menu { onOpened: { window.visibleMenus[uuid] = this window.visibleMenusChanged() - menu.currentIndex = 0 } onClosed: { if (focusOnClosed) focusOnClosed.forceActiveFocus()