commit 7c3edd58e34402ef92af8452c63feba1ace9de15 parent f2b0b7945dfe5da2568ed7945f050922bda572f4 Author: ThomasV <thomasv@electrum.org> Date: Fri, 12 Feb 2016 15:40:26 +0100 kivy: fix qr_dialog Diffstat:
M | gui/kivy/uix/dialogs/qr_dialog.py | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/uix/dialogs/qr_dialog.py b/gui/kivy/uix/dialogs/qr_dialog.py @@ -33,4 +33,7 @@ class QRDialog(Factory.Popup): def __init__(self, title, data): Factory.Popup.__init__(self) self.title = title - self.ids.qr.set_data(data) + self.data = data + + def on_open(self): + self.ids.qr.set_data(self.data)