Show value if available
This commit is contained in:
@@ -273,7 +273,8 @@ class TxDialog(QDialog):
|
|||||||
if addr is None:
|
if addr is None:
|
||||||
addr = _('unknown')
|
addr = _('unknown')
|
||||||
cursor.insertText(addr, text_format(addr))
|
cursor.insertText(addr, text_format(addr))
|
||||||
cursor.insertText(format_amount(x['value']), ext)
|
if x.get('value'):
|
||||||
|
cursor.insertText(format_amount(x['value']), ext)
|
||||||
cursor.insertBlock()
|
cursor.insertBlock()
|
||||||
|
|
||||||
vbox.addWidget(i_text)
|
vbox.addWidget(i_text)
|
||||||
|
|||||||
Reference in New Issue
Block a user