fix(ChatMessage): hide "edit" option when right click on sticker
Closes #5766
This commit is contained in:
parent
e49144d174
commit
6a8fa13b62
|
@ -42,6 +42,7 @@ StatusPopupMenu {
|
|||
property bool pinnedPopup: false
|
||||
property bool isDebugEnabled: false
|
||||
property bool isEmoji: false
|
||||
property bool isSticker: false
|
||||
property bool hideEmojiPicker: true
|
||||
property bool pinnedMessage: false
|
||||
property bool canPin: false
|
||||
|
@ -205,6 +206,7 @@ StatusPopupMenu {
|
|||
enabled: root.isMyMessage &&
|
||||
!root.hideEmojiPicker &&
|
||||
!root.isEmoji &&
|
||||
!root.isSticker &&
|
||||
!root.isProfile &&
|
||||
!root.pinnedPopup &&
|
||||
!root.isRightClickOnImage
|
||||
|
|
|
@ -180,6 +180,7 @@ Column {
|
|||
messageContextMenu.isProfile = !!isProfileClick
|
||||
messageContextMenu.isRightClickOnImage = isRightClickOnImage
|
||||
messageContextMenu.isEmoji = isEmoji
|
||||
messageContextMenu.isSticker = isSticker
|
||||
messageContextMenu.hideEmojiPicker = hideEmojiPicker
|
||||
|
||||
if(isReply){
|
||||
|
|
Loading…
Reference in New Issue