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 { ...@@ -52,10 +52,10 @@ RowLayout {
DropDownMenu { DropDownMenu {
id: menu id: menu
implicitWidth: actionMenu.width
launcher: button launcher: button
relativeTo: button relativeTo: button
relativeX: button.width + 1 relativeX: button.width + 1
implicitWidth: actionMenu.width
ActionMenu { ActionMenu {
id: actionMenu id: actionMenu
...@@ -68,7 +68,10 @@ RowLayout { ...@@ -68,7 +68,10 @@ RowLayout {
qsTr('hangup') 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