use of Function() to call UpdateCheck()

This commit is contained in:
tick bumley 2021-06-24 05:14:33 +00:00
parent 397de2b950
commit 002405a5fc

View file

@ -724,7 +724,7 @@ screen updates():
##style_prefix "check" ##style_prefix "check"
label _("Auto Update") label _("Auto Update")
#textbutton _("Enable Automatic Updates") action ToggleVariable("persistent.autoup", True, False) #textbutton _("Enable Automatic Updates") action ToggleVariable("persistent.autoup", True, False)
textbutton _("Update Now!") action UpdateCheck() textbutton _("Update Now!") action Function(UpdateCheck)
label _("Update Result:\n") label _("Update Result:\n")
text _("[persistent.updateresult!t]\n") text _("[persistent.updateresult!t]\n")
textbutton "Back to Extras" action ShowMenu("extras") textbutton "Back to Extras" action ShowMenu("extras")