fix: remove “Copy” action from emoji menu

Fixes: #2722.

Remove the “Copy” action from the emoji popup menu.
This commit is contained in:
Eric Mastro 2021-06-17 17:06:38 +10:00 committed by Iuri Matias
parent 3ef403a022
commit 8252976306
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ PopupMenu {
Action { Action {
id: copyAction id: copyAction
enabled: !emojiOnly
text: qsTr("Copy") text: qsTr("Copy")
onTriggered: { onTriggered: {
chatsModel.copyToClipboard(messageContextMenu.text) chatsModel.copyToClipboard(messageContextMenu.text)