1
0

wallet.add_contact method

This commit is contained in:
ecdsa
2013-05-02 10:10:22 +02:00
parent 19d19d9a00
commit 8104a47a3e
4 changed files with 11 additions and 8 deletions

View File

@@ -491,8 +491,7 @@ def make_new_contact():
address = None
if address:
if modal_question('Add to contacts?', address):
wallet.addressbook.append(address)
wallet.save()
wallet.add_contact(address)
else:
modal_dialog('Invalid address', data)