1
0

qml: add support for ln address and openalias, fix lnurl finalize step,

avoid overloading invoiceParser with new payment identifiers while potentially long-running
resolve/finalize steps are ongoing, show errors inresolve/finalize steps to user.
This commit is contained in:
Sander van Grieken
2023-11-15 13:36:36 +01:00
committed by accumulator
parent ff77013a82
commit 03dd38bfb8
2 changed files with 45 additions and 15 deletions

View File

@@ -309,6 +309,7 @@ Item {
Layout.preferredWidth: 1
icon.source: '../../icons/tab_send.png'
text: qsTr('Send')
enabled: !invoiceParser.busy
onClicked: openSendDialog()
onPressAndHold: {
Config.userKnowsPressAndHold = true
@@ -329,6 +330,7 @@ Item {
wallet: Daemon.currentWallet
onValidationError: (code, message) => {
var dialog = app.messageDialog.createObject(app, {
title: qsTr('Error'),
text: message
})
dialog.closed.connect(function() {