Browse Source

kivy: receive request: fix RefLabel for "Address" so it can be exported

It is 'data' rather than 'text' that should be set for a RefLabel.

fixes #7042
patch-4
SomberNight 4 years ago
parent
commit
d75f9c6e80
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/kivy/uix/dialogs/request_dialog.py

3
electrum/gui/kivy/uix/dialogs/request_dialog.py

@ -50,7 +50,8 @@ Builder.load_string('''
TopLabel:
text: (_('Address') if not root.is_lightning else _('Payment hash')) + ': '
RefLabel:
text: root.key
data: root.key
name: (_('Address') if not root.is_lightning else _('Payment hash'))
TopLabel:
text: _('Status') + ': ' + root.status_str
color: root.status_color

Loading…
Cancel
Save