mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
convert QString to unicode
This commit is contained in:
parent
b259c9e4be
commit
b0a1db5af9
1 changed files with 2 additions and 2 deletions
|
@ -658,7 +658,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
#self.receive_list.selectedIndexes()
|
#self.receive_list.selectedIndexes()
|
||||||
|
|
||||||
item = self.contacts_list.itemAt(position)
|
item = self.contacts_list.itemAt(position)
|
||||||
addr = item.text(1)
|
addr = unicode(item.text(1))
|
||||||
menu = QMenu()
|
menu = QMenu()
|
||||||
menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr))
|
menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr))
|
||||||
menu.addAction(_("View QR code"),lambda: self.show_address_qrcode(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)
|
item = self.contacts_list.itemAt(position)
|
||||||
if not item: return
|
if not item: return
|
||||||
addr = item.text(0)
|
addr = unicode(item.text(0))
|
||||||
menu = QMenu()
|
menu = QMenu()
|
||||||
menu.addAction(_("Pay to"), lambda: self.payto(addr))
|
menu.addAction(_("Pay to"), lambda: self.payto(addr))
|
||||||
menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr))
|
menu.addAction(_("Copy to Clipboard"), lambda: self.app.clipboard().setText(addr))
|
||||||
|
|
Loading…
Add table
Reference in a new issue