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
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
1 deletions
-
electrum/gui/kivy/uix/dialogs/request_dialog.py
|
@ -50,7 +50,8 @@ Builder.load_string(''' |
|
|
TopLabel: |
|
|
TopLabel: |
|
|
text: (_('Address') if not root.is_lightning else _('Payment hash')) + ': ' |
|
|
text: (_('Address') if not root.is_lightning else _('Payment hash')) + ': ' |
|
|
RefLabel: |
|
|
RefLabel: |
|
|
text: root.key |
|
|
data: root.key |
|
|
|
|
|
name: (_('Address') if not root.is_lightning else _('Payment hash')) |
|
|
TopLabel: |
|
|
TopLabel: |
|
|
text: _('Status') + ': ' + root.status_str |
|
|
text: _('Status') + ': ' + root.status_str |
|
|
color: root.status_color |
|
|
color: root.status_color |
|
|