tfix url in qr code - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit a03bacbeff25c43e4294ab3427148c779020bbfa
DIR parent b0398e0774a708adf9ca968b28d048b18161cc3d
HTML Author: thomasv <thomasv@gitorious>
Date: Wed, 28 Nov 2012 17:50:45 +0100
fix url in qr code
Diffstat:
M lib/gui_qt.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py
t@@ -227,8 +227,10 @@ class QR_Window(QWidget):
msg = 'bitcoin:'+self.address
if self.amount is not None:
msg += '?amount=%s'%(str( Decimal(self.amount) /100000000))
- if self.label is not None:
- msg += '&label=%s'%(self.label)
+ if self.label is not None:
+ msg += '&label=%s'%(self.label)
+ elif self.label is not None:
+ msg += '?label=%s'%(self.label)
self.qrw.set_addr( msg )
self.qrw.repaint()