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 pinnedPopup: false
|
||||||
property bool isDebugEnabled: false
|
property bool isDebugEnabled: false
|
||||||
property bool isEmoji: false
|
property bool isEmoji: false
|
||||||
|
property bool isSticker: false
|
||||||
property bool hideEmojiPicker: true
|
property bool hideEmojiPicker: true
|
||||||
property bool pinnedMessage: false
|
property bool pinnedMessage: false
|
||||||
property bool canPin: false
|
property bool canPin: false
|
||||||
|
@ -205,6 +206,7 @@ StatusPopupMenu {
|
||||||
enabled: root.isMyMessage &&
|
enabled: root.isMyMessage &&
|
||||||
!root.hideEmojiPicker &&
|
!root.hideEmojiPicker &&
|
||||||
!root.isEmoji &&
|
!root.isEmoji &&
|
||||||
|
!root.isSticker &&
|
||||||
!root.isProfile &&
|
!root.isProfile &&
|
||||||
!root.pinnedPopup &&
|
!root.pinnedPopup &&
|
||||||
!root.isRightClickOnImage
|
!root.isRightClickOnImage
|
||||||
|
|
|
@ -180,6 +180,7 @@ Column {
|
||||||
messageContextMenu.isProfile = !!isProfileClick
|
messageContextMenu.isProfile = !!isProfileClick
|
||||||
messageContextMenu.isRightClickOnImage = isRightClickOnImage
|
messageContextMenu.isRightClickOnImage = isRightClickOnImage
|
||||||
messageContextMenu.isEmoji = isEmoji
|
messageContextMenu.isEmoji = isEmoji
|
||||||
|
messageContextMenu.isSticker = isSticker
|
||||||
messageContextMenu.hideEmojiPicker = hideEmojiPicker
|
messageContextMenu.hideEmojiPicker = hideEmojiPicker
|
||||||
|
|
||||||
if(isReply){
|
if(isReply){
|
||||||
|
|
Loading…
Reference in New Issue