commit 1573e71af90254af1b804bc69eea1054bffda214
parent e22e744b1064637fe0ae2db43fc38920d39525eb
Author: ThomasV <thomasv@gitorious>
Date: Fri, 30 Nov 2012 06:14:20 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -150,7 +150,7 @@ class QRCodeWidget(QWidget):
self.update()
def update_qr(self):
- if not self.qr:
+ if self.addr and not self.qr:
self.qr = pyqrnative.QRCode(4, pyqrnative.QRErrorCorrectLevel.L)
self.qr.addData(self.addr)
self.qr.make()