mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-08 20:09:48 +00:00
clear payment fields after transfer
This commit is contained in:
parent
756a821f41
commit
02ab113762
2 changed files with 11 additions and 0 deletions
4
main.qml
4
main.qml
|
@ -626,6 +626,10 @@ ApplicationWindow {
|
|||
for (var i = 0; i < txid.length; ++i)
|
||||
currentWallet.setUserNote(txid[i], transactionDescription);
|
||||
}
|
||||
|
||||
// Clear tx fields
|
||||
middlePanel.transferView.clearFields()
|
||||
|
||||
}
|
||||
informationPopup.onCloseCallback = null
|
||||
informationPopup.open()
|
||||
|
|
|
@ -86,6 +86,13 @@ Rectangle {
|
|||
cameraUi.qrcode_decoded.disconnect(updateFromQrCode)
|
||||
}
|
||||
|
||||
function clearFields() {
|
||||
addressLine.text = ""
|
||||
paymentIdLine.text = ""
|
||||
amountLine.text = ""
|
||||
descriptionLine.text = ""
|
||||
}
|
||||
|
||||
// Information dialog
|
||||
StandardDialog {
|
||||
// dynamically change onclose handler
|
||||
|
|
Loading…
Reference in a new issue