qml: add option to open ReceiveDialog with existing request key

This commit is contained in:
Sander van Grieken
2023-02-24 14:47:28 +01:00
parent 3a90f35888
commit f12fe4af4d
3 changed files with 20 additions and 6 deletions
@@ -21,6 +21,12 @@ Item {
return dialog
}
function openRequest(key) {
var dialog = receiveDialog.createObject(app, { key: key })
dialog.open()
return dialog
}
function openSendDialog() {
_sendDialog = sendDialog.createObject(mainView, {invoiceParser: invoiceParser})
_sendDialog.open()