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.
This commit is contained in:
parent
e2bc0cbd84
commit
2cf7b91829
|
@ -51,7 +51,6 @@ Menu {
|
|||
onOpened: {
|
||||
window.visibleMenus[uuid] = this
|
||||
window.visibleMenusChanged()
|
||||
menu.currentIndex = 0
|
||||
}
|
||||
onClosed: {
|
||||
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||
|
|
Loading…
Reference in New Issue
Block a user