mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
fix url in qr code
This commit is contained in:
parent
b0398e0774
commit
a03bacbeff
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue