tinvoice popup: add outputs in on_open - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 615acb955cd7d0e79db6a4ea7ac6aed562943754
DIR parent 49679cf8be1c323a82810ff1c49fb1cac8b066d4
HTML Author: ThomasV <thomasv@electrum.org>
Date: Thu, 18 Feb 2016 08:51:27 +0100
invoice popup: add outputs in on_open
Diffstat:
M gui/kivy/main_window.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
t@@ -296,7 +296,7 @@ class ElectrumWindow(App):
popup.status = status
txid = req.get('txid')
popup.tx_hash = txid or ''
- popup.ids.output_list.update(req.get('outputs', []))
+ popup.on_open = lambda: popup.ids.output_list.update(req.get('outputs', []))
popup.open()
def qr_dialog(self, title, data):