forked from Public/monero-gui
show only valid qr codes with valid payment ids
fix broken amount field remove unnecessary braces remove bad pid string and whitespace changes remove payment id check in qr generation
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user