1
0

sweep/import key: show error in Qt GUI to user as tooltip

This commit is contained in:
SomberNight
2019-04-19 00:15:45 +02:00
parent 1110f13c62
commit a1d98d4331
7 changed files with 42 additions and 19 deletions

View File

@@ -199,7 +199,7 @@ class BaseWizard(object):
self.choice_dialog(title=title, message=message, choices=choices, run_next=self.run)
def import_addresses_or_keys(self):
v = lambda x: keystore.is_address_list(x) or keystore.is_private_key_list(x)
v = lambda x: keystore.is_address_list(x) or keystore.is_private_key_list(x, raise_on_error=True)
title = _("Import Bitcoin Addresses")
message = _("Enter a list of Bitcoin addresses (this will create a watching-only wallet), or a list of private keys.")
self.add_xpub_dialog(title=title, message=message, run_next=self.on_import,