mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-13 15:56:22 +01:00
Merge pull request #1018
4617a09
show only valid qr codes with valid payment ids
This commit is contained in:
commit
64ce0e62e2
@ -60,12 +60,18 @@ Rectangle {
|
||||
|
||||
if (payment_id.length > 0) {
|
||||
integratedAddressLine.text = appWindow.currentWallet.integratedAddress(payment_id)
|
||||
if (integratedAddressLine.text === "")
|
||||
integratedAddressLine.text = qsTr("Invalid payment ID")
|
||||
if (integratedAddressLine.text === "") {
|
||||
integratedAddressLine.text = qsTr("Invalid payment ID")
|
||||
paymentIdLine.error = true
|
||||
}
|
||||
else {
|
||||
paymentIdLine.error = false
|
||||
}
|
||||
}
|
||||
else {
|
||||
paymentIdLine.text = ""
|
||||
integratedAddressLine.text = ""
|
||||
paymentIdLine.error = false
|
||||
}
|
||||
|
||||
update()
|
||||
|
Loading…
Reference in New Issue
Block a user