mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Hide reply/forward for call events.
Update SDK.
This commit is contained in:
parent
c7962b492c
commit
7ee98041af
3 changed files with 5 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ Item {
|
|||
property ChatMessageModel chatMessageModel
|
||||
property int deliveryCount : 0
|
||||
property bool deliveryVisible: false
|
||||
property bool isCallEvent: false // the menu point to an event
|
||||
|
||||
signal deliveryStatusClicked()
|
||||
signal removeEntryRequested()
|
||||
|
|
@ -80,6 +81,7 @@ Item {
|
|||
iconLayoutDirection: Qt.RightToLeft
|
||||
menuItemStyle : MenuItemStyle.aux
|
||||
onTriggered: container.forwardClicked()
|
||||
visible: !isCallEvent
|
||||
}
|
||||
MenuItem {
|
||||
//: 'Reply' : Reply to a message from menu
|
||||
|
|
@ -89,6 +91,7 @@ Item {
|
|||
iconLayoutDirection: Qt.RightToLeft
|
||||
menuItemStyle : MenuItemStyle.aux
|
||||
onTriggered: container.replyClicked()
|
||||
visible: !isCallEvent
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ Row {
|
|||
width: textArea.width
|
||||
|
||||
deliveryCount: 0
|
||||
isCallEvent: true
|
||||
onRemoveEntryRequested: removeEntry()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ac38c341c4a8a045e48bb170b15ff23431903763
|
||||
Subproject commit 7039e5ae8eb12b2834e7bcd8f2bef27d65033781
|
||||
Loading…
Add table
Reference in a new issue