1
0

Merge pull request #3593 from SomberNight/scan_qr_textedit_allow_multi

ScanQRTextEdit optionally allows to concat data
This commit is contained in:
ThomasV
2017-12-31 18:04:21 +01:00
committed by GitHub
7 changed files with 26 additions and 14 deletions

View File

@@ -140,7 +140,8 @@ class BaseWizard(object):
v = lambda x: keystore.is_address_list(x) or keystore.is_private_key_list(x)
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, is_valid=v)
self.add_xpub_dialog(title=title, message=message, run_next=self.on_import,
is_valid=v, allow_multi=True)
def on_import(self, text):
if keystore.is_address_list(text):