1
0

kivy labels plugin: use Clock

This commit is contained in:
ThomasV
2017-03-09 14:47:31 +01:00
parent 6318bda54d
commit a921f5becf
2 changed files with 4 additions and 1 deletions

View File

@@ -254,6 +254,9 @@ class ElectrumWindow(App):
# show error
self.show_error("Unable to decode QR data")
def update_history_tab(self):
Clock.schedule_once(lambda dt: self.update_tab('history'))
def update_tab(self, name):
s = getattr(self, name + '_screen', None)
if s: