electrum

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

commit b0a1db5af9ef00ef2976270a3740b13974e967dd
parent b259c9e4be1695f38f74f81e12194c20ab6cfe3e
Author: ThomasV <thomasv@gitorious>
Date:   Sat,  9 Jun 2012 23:58:20 +0200

convert QString to unicode

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

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -658,7 +658,7 @@ class ElectrumWindow(QMainWindow): #self.receive_list.selectedIndexes() item = self.contacts_list.itemAt(position) - addr = item.text(1) + addr = unicode(item.text(1)) menu = QMenu() menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr)) menu.addAction(_("View QR code"),lambda: self.show_address_qrcode(addr)) @@ -698,7 +698,7 @@ class ElectrumWindow(QMainWindow): item = self.contacts_list.itemAt(position) if not item: return - addr = item.text(0) + addr = unicode(item.text(0)) menu = QMenu() menu.addAction(_("Pay to"), lambda: self.payto(addr)) menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr))