1
0

kivy: qr dialog

This commit is contained in:
ThomasV
2016-02-12 15:21:03 +01:00
parent cc526a8734
commit f2b0b7945d
5 changed files with 53 additions and 8 deletions

View File

@@ -111,7 +111,7 @@ class QRCodeWidget(FloatLayout):
def _upd_texture(self, buff):
texture = self._qrtexture
texture.blit_buffer(buff, colorfmt='rgb', bufferfmt='ubyte')
img =self.ids.qrimage
img = self.ids.qrimage
img.anim_delay = -1
img.texture = texture
img.canvas.ask_update()