tfix #4047 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3a5a0af48f4df77bae8f4c9df1eeddbee267e4f0 DIR parent d0025491760aab9040ba31e2683adb220fd80345 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 6 Mar 2018 17:20:22 +0100 fix #4047 Diffstat: M gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -664,7 +664,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): fiat_e.is_last_edited = (edit == fiat_e) amount = edit.get_amount() rate = self.fx.exchange_rate() if self.fx else None - if rate is None or amount is None: + if rate.is_nan() or amount is None: if edit is fiat_e: btc_e.setText("") if fee_e: