From 2603f21a3b28563e828f1f01ee50d9e2807ba1c4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 3 Dec 2012 04:55:21 +0100 Subject: [PATCH] fix show seed --- lib/gui_qt.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/gui_qt.py b/lib/gui_qt.py index 628662493..1b9685c35 100644 --- a/lib/gui_qt.py +++ b/lib/gui_qt.py @@ -137,11 +137,14 @@ class StatusBarButton(QPushButton): class QRCodeWidget(QWidget): - def __init__(self): + def __init__(self, data = None): QWidget.__init__(self) self.setMinimumSize(210, 210) self.addr = None self.qr = None + if data: + self.set_addr(data) + self.update_qr() def set_addr(self, addr): if self.addr != addr: