Copy only selected text instead of whole message

Fixes #457
This commit is contained in:
Tobias Fella
2021-10-14 21:44:32 +02:00
parent 7bb7b7850b
commit bdca636fb8

View File

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