This commit is contained in:
SomberNight 2018-03-06 17:20:22 +01:00
parent d002549176
commit 3a5a0af48f

View file

@ -664,7 +664,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
fiat_e.is_last_edited = (edit == fiat_e) fiat_e.is_last_edited = (edit == fiat_e)
amount = edit.get_amount() amount = edit.get_amount()
rate = self.fx.exchange_rate() if self.fx else None 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: if edit is fiat_e:
btc_e.setText("") btc_e.setText("")
if fee_e: if fee_e: