From d75f9c6e800ca1c78f596a9c3d437339fe8bb217 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 19 Feb 2021 02:29:00 +0100 Subject: [PATCH] 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 --- electrum/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 index 55b6b56d3..54a6ab338 100644 --- 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