commit dc2bb7d81f0da8b290954ba11a27ebeb8f4a07e8
parent 3a5a0af48f4df77bae8f4c9df1eeddbee267e4f0
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 6 Mar 2018 17:26:59 +0100
fix prev
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -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("")