From 63b9911a9f59adc5a2ea72714c453db46b5898de Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 16 Nov 2013 10:44:11 +0100 Subject: [PATCH] fix self.amount in POS plugin --- plugins/pointofsale.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/pointofsale.py b/plugins/pointofsale.py index 8bf1cdff5..6e6614217 100644 --- a/plugins/pointofsale.py +++ b/plugins/pointofsale.py @@ -73,6 +73,9 @@ class QR_Window(QWidget): if currency: amount_text += "%s %s
" % (amount, currency) amount_text += "%s BTC " % str(self.amount) + else: + self.amount = None + self.amount_label.setText(amount_text) self.label = label