commit 2603f21a3b28563e828f1f01ee50d9e2807ba1c4
parent 36ef16cfb29b28a60b297a97e2d501a68331dd1b
Author: ThomasV <thomasv@gitorious>
Date: Mon, 3 Dec 2012 04:55:21 +0100
fix show seed
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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: