Update id names in main.kv
This commit is contained in:
parent
cdbe877d0e
commit
d6356b596c
|
@ -159,8 +159,8 @@ class AddressBook(Screen, HelperAddressBook):
|
|||
UPDATE addressbook
|
||||
SET label = ?
|
||||
WHERE address = ?""", label, self.addbook_popup.content_cls.address)
|
||||
App.get_running_app().root.ids.sc11.ids.ml.clear_widgets()
|
||||
App.get_running_app().root.ids.sc11.loadAddresslist(None, 'All', '')
|
||||
App.get_running_app().root.ids.id_addressbook.ids.ml.clear_widgets()
|
||||
App.get_running_app().root.ids.id_addressbook.loadAddresslist(None, 'All', '')
|
||||
self.addbook_popup.dismiss()
|
||||
toast('Saved')
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
if root.is_camara_attached(): app.set_screen('scanscreen')
|
||||
else: root.camera_alert()
|
||||
on_press:
|
||||
app.root.ids.sc23.get_screen('composer')
|
||||
app.root.ids.is_scanscreen.get_screen('composer')
|
||||
|
||||
MyMDTextField:
|
||||
id: subject
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
size_hint: 1.5, None
|
||||
height: dp(40)
|
||||
on_press: app.set_screen('showqrcode')
|
||||
on_press: app.root.ids.sc15.qrdisplay(root, root.address)
|
||||
on_press: app.root.ids.id_showqrcode.qrdisplay(root, root.address)
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._('Show QR code')
|
||||
|
|
|
@ -233,21 +233,21 @@ MDNavigationLayout:
|
|||
MyAddress:
|
||||
id:id_myaddress
|
||||
AddressBook:
|
||||
id:sc11
|
||||
id:id_addressbook
|
||||
Payment:
|
||||
id:sc12
|
||||
id:id_payment
|
||||
NetworkStat:
|
||||
id:sc13
|
||||
id:id_network
|
||||
MailDetail:
|
||||
id:sc14
|
||||
ShowQRCode:
|
||||
id:sc15
|
||||
id:id_showqrcode
|
||||
Draft:
|
||||
id:sc16
|
||||
Allmails:
|
||||
id:sc17
|
||||
ScanScreen:
|
||||
id:sc23
|
||||
id:is_scanscreen
|
||||
|
||||
MDNavigationDrawer:
|
||||
id: nav_drawer
|
||||
|
|
Reference in New Issue
Block a user