tkivy: receive request: fix RefLabel for "Address" so it can be exported - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d75f9c6e800ca1c78f596a9c3d437339fe8bb217
DIR parent 1ee99cf9c457f1fd1a417a3c04d3fe8af9e860a2
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 19 Feb 2021 02:29:00 +0100
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
Diffstat:
M electrum/gui/kivy/uix/dialogs/requ… | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/electrum/gui/kivy/uix/dialogs/request_dialog.py b/electrum/gui/kivy/uix/dialogs/request_dialog.py
t@@ -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