1
0

Rewrote plugin to new format

This commit is contained in:
Maran
2013-03-16 23:33:49 +01:00
parent dfd48319a3
commit bafac9dc83
2 changed files with 125 additions and 160 deletions

View File

@@ -2015,7 +2015,7 @@ class ElectrumWindow(QMainWindow):
traceback.print_exc(file=sys.stdout)
grid_plugins.setRowStretch(i+1,1)
self.run_hook('create_settings_tab', (tabs,))
self.run_hook('create_settings_tab', tabs)
vbox.addLayout(ok_cancel_buttons(d))
d.setLayout(vbox)
@@ -2079,7 +2079,7 @@ class ElectrumWindow(QMainWindow):
self.config.set_key('currency', cur_request, True)
self.update_wallet()
self.run_hook('close_settings_dialog', ())
self.run_hook('close_settings_dialog')
if need_restart:
QMessageBox.warning(self, _('Success'), _('Please restart Electrum to activate the new GUI settings'), _('OK'))