electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 12b3a78036d1f10990d44617b5bd6cf2033feab8
parent c0535634fda7363b0dc105b7e53d68f6ffd99bfc
Author: wozz <wozz@users.noreply.github.com>
Date:   Tue, 22 Apr 2014 14:42:32 -0400

Merge pull request #662 from wozz/issue-643

No longer require restart for toggle exchange rate
Diffstat:
Mplugins/exchange_rate.py | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py @@ -393,11 +393,9 @@ class Plugin(BasePlugin): def toggle(self): out = BasePlugin.toggle(self) self.win.update_status() - if self.config.get('use_exchange_rate'): - try: - self.fiat_button - except: - self.gui.main_window.show_message(_("To see fiat amount when sending bitcoin, please restart Electrum to activate the new GUI settings.")) + self.win.tabs.removeTab(1) + new_send_tab = self.gui.main_window.create_send_tab() + self.win.tabs.insertTab(1, new_send_tab, _('Send')) return out