Commit 9fca87d6 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(Call/CallControls): hide menu when action is clicked

parent 1ec87096
......@@ -52,10 +52,10 @@ RowLayout {
DropDownMenu {
id: menu
implicitWidth: actionMenu.width
launcher: button
relativeTo: button
relativeX: button.width + 1
implicitWidth: actionMenu.width
ActionMenu {
id: actionMenu
......@@ -68,7 +68,10 @@ RowLayout {
qsTr('hangup')
]
onClicked: console.log('entry', entry)
onClicked: {
console.log('entry', entry)
menu.hideMenu()
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment