fix self.amount in POS plugin
This commit is contained in:
@@ -73,6 +73,9 @@ class QR_Window(QWidget):
|
|||||||
if currency:
|
if currency:
|
||||||
amount_text += "<span style='font-size: 18pt'>%s %s</span><br/>" % (amount, 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)
|
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.amount_label.setText(amount_text)
|
||||||
|
|
||||||
self.label = label
|
self.label = label
|
||||||
|
|||||||
Reference in New Issue
Block a user