mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
fix: test item existence
This commit is contained in:
parent
1f97dbc96e
commit
87d4b132a4
1 changed files with 1 additions and 0 deletions
|
@ -679,6 +679,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
#self.receive_list.selectedIndexes()
|
#self.receive_list.selectedIndexes()
|
||||||
|
|
||||||
item = self.receive_list.itemAt(position)
|
item = self.receive_list.itemAt(position)
|
||||||
|
if not item: return
|
||||||
addr = unicode(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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue