1
0

add wallet categories

This commit is contained in:
ThomasV
2014-09-05 16:28:53 +02:00
parent 34cb1f6620
commit 622fb6c08b
4 changed files with 14 additions and 11 deletions

View File

@@ -78,14 +78,16 @@ class InstallWizard(QDialog):
self.wallet_types = [
('standard', _("Standard wallet")),
#('2fa', _("Wallet with two-factor authentication")),
('twofactor', _("Wallet with two-factor authentication")),
('multisig', _("Multi-signatures wallet")),
('hardware', _("Hardware wallet")),
]
for i, (t,l) in enumerate(self.wallet_types):
for i, (wtype,name) in enumerate(self.wallet_types):
if not filter(lambda x:x[0]==wtype, electrum.wallet.wallet_types):
continue
button = QRadioButton(gb2)
button.setText(l)
button.setText(name)
vbox.addWidget(button)
group2.addButton(button)
group2.setId(button, i)