tfix prev - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit dc2bb7d81f0da8b290954ba11a27ebeb8f4a07e8 DIR parent 3a5a0af48f4df77bae8f4c9df1eeddbee267e4f0 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 6 Mar 2018 17:26:59 +0100 fix prev 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@@ -663,7 +663,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): edit.setStyleSheet(ColorScheme.DEFAULT.as_stylesheet()) fiat_e.is_last_edited = (edit == fiat_e) amount = edit.get_amount() - rate = self.fx.exchange_rate() if self.fx else None + rate = self.fx.exchange_rate() if self.fx else Decimal('NaN') if rate.is_nan() or amount is None: if edit is fiat_e: btc_e.setText("")