1
0

qml: make request types clickable, some fixes

This commit is contained in:
Sander van Grieken
2022-09-30 09:27:55 +02:00
parent ae15c0527b
commit fd791f4fb1
5 changed files with 28 additions and 7 deletions

View File

@@ -227,7 +227,7 @@ ElDialog {
Label {
visible: invoice.invoiceType == Invoice.LightningInvoice
Layout.fillWidth: true
text: invoice.lnprops.pubkey
text: invoice.lnprops ? invoice.lnprops.pubkey : ''
font.family: FixedFont
wrapMode: Text.Wrap
}
@@ -241,7 +241,7 @@ ElDialog {
Label {
visible: invoice.invoiceType == Invoice.LightningInvoice
Layout.fillWidth: true
text: invoice.lnprops.t
text: invoice.lnprops ? invoice.lnprops.t : ''
font.family: FixedFont
wrapMode: Text.Wrap
}
@@ -255,7 +255,7 @@ ElDialog {
Label {
visible: invoice.invoiceType == Invoice.LightningInvoice
Layout.fillWidth: true
text: invoice.lnprops.r
text: invoice.lnprops ? invoice.lnprops.r : ''
font.family: FixedFont
wrapMode: Text.Wrap
}