Browse Source

kivy: fix a race at startup

on_history (fx) races with load_wallet
regtest_lnd
SomberNight 6 years ago
parent
commit
fd09033890
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/kivy/main_window.py

3
electrum/gui/kivy/main_window.py

@ -180,7 +180,8 @@ class ElectrumWindow(App):
def on_history(self, d):
Logger.info("on_history")
self.wallet.clear_coin_price_cache()
if self.wallet:
self.wallet.clear_coin_price_cache()
self._trigger_update_history()
def on_fee_histogram(self, *args):

Loading…
Cancel
Save