From 2170f6a46d42704f5fe1b0ff04bf7a9a5992804f Mon Sep 17 00:00:00 2001 From: Jaquee Date: Thu, 2 Nov 2017 07:51:15 +0100 Subject: Improve copy text handling --- components/AddressBookTable.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/AddressBookTable.qml') diff --git a/components/AddressBookTable.qml b/components/AddressBookTable.qml index abf72371..4d281440 100644 --- a/components/AddressBookTable.qml +++ b/components/AddressBookTable.qml @@ -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); -- cgit v1.2.3