mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-06 16:07:25 -04:00
Improve copy text handling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user