mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-28 17:29:19 +00:00
feat(Call/CallControls): hide menu when action is clicked
This commit is contained in:
parent
1ec870961f
commit
9fca87d606
1 changed files with 5 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue