traceback.print_exc(file=sys.stdout)
grid_plugins.setRowStretch(i+1,1)
- self.run_hook('create_settings_tab', (self,tabs,))
+ self.run_hook('create_settings_tab', (tabs,))
vbox.addLayout(ok_cancel_buttons(d))
d.setLayout(vbox)
self.config.set_key('currency', cur_request, True)
self.update_wallet()
- self.run_hook('close_settings_dialog', (self,))
+ self.run_hook('close_settings_dialog', ())
if need_restart:
QMessageBox.warning(self, _('Success'), _('Please restart Electrum to activate the new GUI settings'), _('OK'))
global config
return hashlib.sha256(str(config.get("master_public_key"))).digest().encode('hex')
-def set_label(item,label, changed):
+def set_label(gui, item,label, changed):
if not changed:
return