git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8b5f5fc
)
fix self.amount in POS plugin
author
ThomasV
<thomasv@gitorious>
Sat, 16 Nov 2013 09:44:11 +0000 (10:44 +0100)
committer
ThomasV
<thomasv@gitorious>
Sat, 16 Nov 2013 09:44:11 +0000 (10:44 +0100)
plugins/pointofsale.py
patch
|
blob
|
history
diff --git
a/plugins/pointofsale.py
b/plugins/pointofsale.py
index
8bf1cdf
..
6e66142
100644
(file)
--- a/
plugins/pointofsale.py
+++ b/
plugins/pointofsale.py
@@
-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