electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d75f9c6e800ca1c78f596a9c3d437339fe8bb217
parent 1ee99cf9c457f1fd1a417a3c04d3fe8af9e860a2
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:
Melectrum/gui/kivy/uix/dialogs/request_dialog.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/gui/kivy/uix/dialogs/request_dialog.py b/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