Fix copying whole messages

This commit is contained in:
Tobias Fella
2021-10-14 22:14:36 +02:00
parent bdca636fb8
commit 8648b4a3bf

View File

@@ -43,7 +43,7 @@ Loader {
Kirigami.Action {
text: i18n("Copy")
icon.name: "edit-copy"
onTriggered: Clipboard.saveText(loadRoot.selectedText)
onTriggered: Clipboard.saveText(loadRoot.selectedText === "" ? loadRoot.message : loadRoot.selectedText)
},
Kirigami.Action {
text: i18n("View Source")