fix url in qr code
This commit is contained in:
@@ -227,8 +227,10 @@ class QR_Window(QWidget):
|
|||||||
msg = 'bitcoin:'+self.address
|
msg = 'bitcoin:'+self.address
|
||||||
if self.amount is not None:
|
if self.amount is not None:
|
||||||
msg += '?amount=%s'%(str( Decimal(self.amount) /100000000))
|
msg += '?amount=%s'%(str( Decimal(self.amount) /100000000))
|
||||||
if self.label is not None:
|
if self.label is not None:
|
||||||
msg += '&label=%s'%(self.label)
|
msg += '&label=%s'%(self.label)
|
||||||
|
elif self.label is not None:
|
||||||
|
msg += '?label=%s'%(self.label)
|
||||||
|
|
||||||
self.qrw.set_addr( msg )
|
self.qrw.set_addr( msg )
|
||||||
self.qrw.repaint()
|
self.qrw.repaint()
|
||||||
|
|||||||
Reference in New Issue
Block a user