From 1d5a2736293f901da1bf0e1b9bb51d75f44b26a7 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 14 Jun 2022 11:53:16 +0200 Subject: [PATCH] add address to InvoiceDialog for OnchainInvoice type --- electrum/gui/qml/components/InvoiceDialog.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/electrum/gui/qml/components/InvoiceDialog.qml b/electrum/gui/qml/components/InvoiceDialog.qml index 18697fe2f..8aab784c9 100644 --- a/electrum/gui/qml/components/InvoiceDialog.qml +++ b/electrum/gui/qml/components/InvoiceDialog.qml @@ -90,6 +90,19 @@ Dialog { } } + Label { + visible: invoice.invoiceType == Invoice.OnchainInvoice + text: qsTr('Address') + } + + Label { + visible: invoice.invoiceType == Invoice.OnchainInvoice + Layout.fillWidth: true + text: invoice.address + font.family: FixedFont + wrapMode: Text.Wrap + } + Label { text: qsTr('Status') }