kivy: fix on_history

This commit is contained in:
ThomasV 2016-03-08 10:39:31 +01:00
parent af780e7519
commit d3d0e3bacb

View file

@ -99,7 +99,7 @@ class ElectrumWindow(App):
def on_history(self, d): def on_history(self, d):
#Logger.info("on_history") #Logger.info("on_history")
if self.history_screen: if self.history_screen:
self.history_screen.update() Clock.schedule_once(lambda dt: self.history_screen.update())
def _get_bu(self): def _get_bu(self):
return self.electrum_config.get('base_unit', 'mBTC') return self.electrum_config.get('base_unit', 'mBTC')