From 48502480dffd64ea7ae7f9e7613250574598693d Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 27 Jan 2024 17:50:47 +0000 Subject: [PATCH] Fix copying selected text from a message --- src/qml/MessageDelegateContextMenu.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/MessageDelegateContextMenu.qml b/src/qml/MessageDelegateContextMenu.qml index 038cf7ecd..374ee4e7d 100644 --- a/src/qml/MessageDelegateContextMenu.qml +++ b/src/qml/MessageDelegateContextMenu.qml @@ -135,7 +135,7 @@ Loader { Kirigami.Action { text: i18n("Copy") icon.name: "edit-copy" - onTriggered: Clipboard.saveText(root.selectedText.length > 0 ? root.plainText : root.selectedText) + onTriggered: Clipboard.saveText(root.selectedText.length > 0 ? root.selectedText : root.plainText) }, Kirigami.Action { text: i18nc("@action:button 'Report' as in 'Report this event to the administrators'", "Report")