commit 697d8b7750a761a5dbbfc15fef33855dbf79dd48
parent f9de19bd78ddf29b58cb62eae02dbb22cb8bc0c4
Author: ThomasV <thomasv@gitorious>
Date: Mon, 20 Apr 2015 12:16:42 +0200
follow up 8e415d0f2a03cb81a65b3b8ef37bbe13c92f24a4
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
@@ -763,6 +763,8 @@ class Plugin(BasePlugin):
if fee_e: self.win.update_fee(False)
fiat_e.textEdited.connect(fiat_changed)
def btc_changed():
+ if self.exchanger is None:
+ return
btc_amount = btc_e.get_amount()
if btc_amount is None:
fiat_e.setText("")