1
0

kivy: use camera

This commit is contained in:
ThomasV
2016-03-16 20:39:59 +01:00
parent 3c1d6fab69
commit 644cb871f5
5 changed files with 70 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ SendScreen:
IconButton:
id: qr
size_hint: 0.6, 1
on_release: app.scan_qr(on_complete=app.on_qr)
on_release: Clock.schedule_once(lambda dt: app.scan_qr(on_complete=app.on_qr))
icon: 'atlas://gui/kivy/theming/light/camera'
Button:
text: _('Paste')