mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
fix for empty addressbook
This commit is contained in:
parent
1cba96cbbb
commit
3350229263
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class ElectrumGui:
|
|||
out = self.run_popup('Address', ["Edit label", "Freeze", "Prioritize"])
|
||||
|
||||
def run_contacts_tab(self, c):
|
||||
if c == 10:
|
||||
if c == 10 and self.wallet.addressbook:
|
||||
out = self.run_popup('Adress', ["Copy", "Pay to", "Edit label", "Delete"]).get('button')
|
||||
address = self.wallet.addressbook[self.pos%len(self.wallet.addressbook)]
|
||||
if out == "Pay to":
|
||||
|
|
Loading…
Add table
Reference in a new issue