electrum

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

commit 28b0ff85f2c38290f11ec6a4753b0c80cdffbd95
parent c0ef60aa50e5729828e5152d3504aec069a6881a
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 30 Jan 2016 12:57:23 +0100

fx plugin fix

Diffstat:
Mplugins/exchange_rate/qt.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/exchange_rate/qt.py b/plugins/exchange_rate/qt.py @@ -113,7 +113,7 @@ class Plugin(FxPlugin, QObject): @hook def on_new_window(self, window): # Additional send and receive edit boxes - if not hasattr(window, 'send_e'): + if not hasattr(window, 'fiat_send_e'): send_e = AmountEdit(self.get_currency) window.send_grid.addWidget(send_e, 4, 2, Qt.AlignLeft) window.amount_e.frozen.connect( @@ -124,6 +124,9 @@ class Plugin(FxPlugin, QObject): window.fiat_receive_e = receive_e self.connect_fields(window, window.amount_e, send_e, window.fee_e) self.connect_fields(window, window.receive_amount_e, receive_e, None) + else: + window.fiat_send_e.show() + window.fiat_receive_e.show() window.history_list.refresh_headers() window.update_status() window.connect(self, SIGNAL('new_fx_quotes'), lambda: self.on_fx_quotes(window))