From 0fdd955086b26d121b0962602859d465b08bd382 Mon Sep 17 00:00:00 2001 From: Maran Date: Tue, 12 Mar 2013 17:13:50 +0100 Subject: [PATCH] Add close setting dialog hook --- gui/gui_classic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/gui_classic.py b/gui/gui_classic.py index d7ae06b27..056aff813 100644 --- a/gui/gui_classic.py +++ b/gui/gui_classic.py @@ -2111,6 +2111,8 @@ class ElectrumWindow(QMainWindow): self.config.set_key('currency', cur_request, True) self.update_wallet() + self.run_hook('close_setting_dialog', (self,)) + if need_restart: QMessageBox.warning(self, _('Success'), _('Please restart Electrum to activate the new GUI settings'), _('OK'))