1
0

do not show plugins that register a custom wallet type in the plugins toggle dialog

This commit is contained in:
ThomasV
2015-08-06 11:12:15 +02:00
parent aadffa0c8f
commit e18ddd0096
3 changed files with 9 additions and 15 deletions

View File

@@ -2835,6 +2835,8 @@ class ElectrumWindow(QMainWindow):
for i, descr in enumerate(descriptions):
name = descr['name']
p = plugins.get(name)
if descr.get('registers_wallet_type'):
continue
try:
cb = QCheckBox(descr['fullname'])
cb.setEnabled(is_available(name, self.wallet))