electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a03bacbeff25c43e4294ab3427148c779020bbfa
parent b0398e0774a708adf9ca968b28d048b18161cc3d
Author: thomasv <thomasv@gitorious>
Date:   Wed, 28 Nov 2012 17:50:45 +0100

fix url in qr code

Diffstat:
Mlib/gui_qt.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -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()