Merge pull request #116 from chstem/clipboard
Copy messages to clipboard
This commit is contained in:
commit
6cdbfec52e
2 changed files with 10 additions and 0 deletions
|
@ -564,6 +564,12 @@ Page {
|
|||
text: qsTr("Edit Message")
|
||||
visible: display.can_be_edited
|
||||
}
|
||||
MenuItem {
|
||||
onClicked: {
|
||||
Clipboard.text = Functions.getMessageText(display, false, false);
|
||||
}
|
||||
text: qsTr("Copy Message to Clipboard")
|
||||
}
|
||||
MenuItem {
|
||||
onClicked: {
|
||||
var chatId = chatInformation.id;
|
||||
|
|
|
@ -277,6 +277,10 @@
|
|||
<source>Edit Message</source>
|
||||
<translation>Nachricht bearbeiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy Message to Clipboard</source>
|
||||
<translation>Nachricht in die Zwischenablage kopieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>edited</source>
|
||||
<translation>bearbeitet</translation>
|
||||
|
|
Loading…
Reference in a new issue