mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
kivy: fix a race at startup
on_history (fx) races with load_wallet
This commit is contained in:
parent
720519f610
commit
fd09033890
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue