Improve copy text handling

This commit is contained in:
Jaquee
2017-11-02 07:51:15 +01:00
parent e6ada22611
commit 2170f6a46d
6 changed files with 36 additions and 3 deletions

View File

@@ -144,8 +144,10 @@ ListView {
onOptionClicked: {
// Ensure tooltip is closed
appWindow.toolTip.visible = false;
if(option === 0)
if(option === 0) {
clipboard.setText(address)
appWindow.showStatusMessage(qsTr("Address copied to clipboard"),3)
}
else if(option === 1){
console.log("Sending to: ", address +" "+ paymentId);
middlePanel.sendTo(address, paymentId, description);