Skip to content
Snippets Groups Projects
Commit ae1385e1 authored by Benjamin Arnaud's avatar Benjamin Arnaud
Browse files

qml/LangButton: Update to 'Player.applyMenu'

parent 17865b31
No related branches found
No related tags found
No related merge requests found
......@@ -52,14 +52,14 @@ Widgets.IconControlButton {
onOpened: {
langBtn.requestLockUnlockAutoHide(true)
if (!!rootPlayer)
rootPlayer.menu = menu
rootPlayer.applyMenu(menu)
}
onClosed: {
langBtn.requestLockUnlockAutoHide(false)
langBtn.forceActiveFocus()
if (!!rootPlayer)
rootPlayer.menu = undefined
rootPlayer.applyMenu(null)
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment