kivy: fix qr_dialog
This commit is contained in:
parent
f2b0b7945d
commit
7c3edd58e3
|
@ -33,4 +33,7 @@ class QRDialog(Factory.Popup):
|
||||||
def __init__(self, title, data):
|
def __init__(self, title, data):
|
||||||
Factory.Popup.__init__(self)
|
Factory.Popup.__init__(self)
|
||||||
self.title = title
|
self.title = title
|
||||||
self.ids.qr.set_data(data)
|
self.data = data
|
||||||
|
|
||||||
|
def on_open(self):
|
||||||
|
self.ids.qr.set_data(self.data)
|
||||||
|
|
Loading…
Reference in New Issue