1
0

change address-only handling: create amount=0 onchain invoice

invoicedialog auto enables edit mode when amount is 0
This commit is contained in:
Sander van Grieken
2022-09-27 17:10:05 +02:00
parent fb68931a8d
commit d65a7e7efc
3 changed files with 17 additions and 21 deletions

View File

@@ -325,5 +325,7 @@ ElDialog {
if (invoice_key != '') {
invoice.initFromKey(invoice_key)
}
if (invoice.amount.satsInt == 0)
amountContainer.editmode = true
}
}