workaround p4a bug

This commit is contained in:
ThomasV 2016-08-26 07:05:18 +02:00
parent fb151c1728
commit 843ac4e90b
1 changed files with 3 additions and 0 deletions

View File

@ -609,6 +609,9 @@ class ElectrumWindow(App):
def on_resume(self):
if self.nfcscanner:
self.nfcscanner.nfc_enable()
# workaround p4a bug:
# show an empty info bubble, to refresh the display
self.show_info_bubble('', duration=0.1, pos=(0,0), width=1, arrow_pos=None)
def on_size(self, instance, value):
width, height = value