diff --git a/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml b/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml index c350f7915..21aa56d96 100644 --- a/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml +++ b/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml @@ -24,7 +24,7 @@ Item { property int deliveryCount : 0 signal deliveryStatusClecked() - signal removeEntry() + signal removeEntryRequested() Menu { @@ -70,7 +70,7 @@ Item { iconSizeMenu: 17 iconLayoutDirection: Qt.RightToLeft menuItemStyle : MenuItemStyle.auxRed - onTriggered: removeEntry() + onTriggered: container.removeEntryRequested() } } diff --git a/linphone-app/ui/modules/Linphone/Chat/FileMessage.qml b/linphone-app/ui/modules/Linphone/Chat/FileMessage.qml index da09fccde..deaaa2195 100644 --- a/linphone-app/ui/modules/Linphone/Chat/FileMessage.qml +++ b/linphone-app/ui/modules/Linphone/Chat/FileMessage.qml @@ -295,6 +295,7 @@ Row { deliveryCount: deliveryLayout.model.count onDeliveryStatusClecked: deliveryLayout.visible = !deliveryLayout.visible + onRemoveEntryRequested: removeEntry() } } diff --git a/linphone-app/ui/modules/Linphone/Chat/Message.qml b/linphone-app/ui/modules/Linphone/Chat/Message.qml index ad7c62c59..b417ee9b6 100644 --- a/linphone-app/ui/modules/Linphone/Chat/Message.qml +++ b/linphone-app/ui/modules/Linphone/Chat/Message.qml @@ -117,6 +117,7 @@ Item { content: $chatEntry.content deliveryCount: deliveryLayout.model.count onDeliveryStatusClecked: deliveryLayout.visible = !deliveryLayout.visible + onRemoveEntryRequested: removeEntry() } }