Highlight first item when opening context menu
This commit is contained in:
@@ -35,6 +35,7 @@ Menu {
|
||||
onOpened: {
|
||||
window.visibleMenus[uuid] = this
|
||||
window.visibleMenusChanged()
|
||||
menu.currentIndex = 0
|
||||
}
|
||||
onClosed: {
|
||||
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||
|
Reference in New Issue
Block a user