tfix self.amount in POS plugin - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 63b9911a9f59adc5a2ea72714c453db46b5898de DIR parent 8b5f5fc89b1aac3c6e035a435996dbeb862e7d80 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 16 Nov 2013 10:44:11 +0100 fix self.amount in POS plugin Diffstat: M plugins/pointofsale.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/plugins/pointofsale.py b/plugins/pointofsale.py t@@ -73,6 +73,9 @@ class QR_Window(QWidget): if currency: amount_text += "<span style='font-size: 18pt'>%s %s</span><br/>" % (amount, currency) amount_text += "<span style='font-size: 21pt'>%s</span> <span style='font-size: 16pt'>BTC</span> " % str(self.amount) + else: + self.amount = None + self.amount_label.setText(amount_text) self.label = label