1
0

More work on label cloud plugin

This commit is contained in:
Maran
2013-03-12 21:20:18 +01:00
parent ad88b296bb
commit 9df4451c6f
2 changed files with 105 additions and 41 deletions

View File

@@ -374,7 +374,8 @@ class ElectrumWindow(QMainWindow):
if old_text:
self.wallet.labels.pop(name)
changed = True
run_hook('set_label', name, text, changed)
self.run_hook('set_label', (name, text, changed,))
return changed
@@ -2110,7 +2111,7 @@ class ElectrumWindow(QMainWindow):
self.config.set_key('currency', cur_request, True)
self.update_wallet()
self.run_hook('close_setting_dialog', (self,))
self.run_hook('close_settings_dialog', (self,))
if need_restart:
QMessageBox.warning(self, _('Success'), _('Please restart Electrum to activate the new GUI settings'), _('OK'))