mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 04:20:26 +00:00
Avoid logging addresses and other sensitive data
This commit is contained in:
parent
b35d60db2d
commit
9afaa7cf0f
4 changed files with 6 additions and 6 deletions
|
@ -242,7 +242,7 @@ ListView {
|
|||
}
|
||||
onClicked: {
|
||||
if(parent.address){
|
||||
console.log(parent.address + " copied to clipboard");
|
||||
console.log("Address copied to clipboard");
|
||||
clipboard.setText(parent.address);
|
||||
appWindow.showStatusMessage(qsTr("Address copied to clipboard"),3)
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ Rectangle{
|
|||
}
|
||||
onClicked: {
|
||||
if(copyValue){
|
||||
console.log(copyValue + " copied to clipboard");
|
||||
console.log("Copied to clipboard");
|
||||
clipboard.setText(copyValue);
|
||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"),3)
|
||||
}
|
||||
|
|
|
@ -119,9 +119,9 @@ Item {
|
|||
anchors.right: parent.right
|
||||
onClicked: {
|
||||
if (input.text.length > 0) {
|
||||
console.log(input.text + " copied to clipboard")
|
||||
clipboard.setText(input.text)
|
||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"),3)
|
||||
console.log("Copied to clipboard");
|
||||
clipboard.setText(input.text);
|
||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
|
||||
}
|
||||
}
|
||||
visible: copyButton && input.text !== ""
|
||||
|
|
|
@ -86,7 +86,7 @@ ColumnLayout {
|
|||
anchors.rightMargin: labelButton.visible? 4 : 0
|
||||
onClicked: {
|
||||
if (multiLine.text.length > 0) {
|
||||
console.log(multiLine.text + " copied to clipboard");
|
||||
console.log("Copied to clipboard");
|
||||
clipboard.setText(multiLine.text);
|
||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue