1
0
This commit is contained in:
ThomasV
2015-04-20 10:33:32 +02:00
parent 50fed3dce5
commit 8251c5b6d9
3 changed files with 22 additions and 14 deletions

View File

@@ -314,13 +314,9 @@ class InstallWizard(QDialog):
return run_password_dialog(self, None, self)[2]
def run(self, action, wallet_type):
def run(self, action):
if action == 'new':
action, wallet_type = self.restore_or_create()
if action in ['create', 'restore']:
if wallet_type == 'multisig':
wallet_type = self.choice(_("Multi Signature Wallet"), 'Select wallet type', [('2of2', _("2 of 2")),('2of3',_("2 of 3"))])
if not wallet_type:
@@ -332,7 +328,6 @@ class InstallWizard(QDialog):
return
elif wallet_type == 'twofactor':
wallet_type = '2fa'
if action == 'create':
self.storage.put('wallet_type', wallet_type, False)