mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
bug fix,keyboard
This commit is contained in:
parent
d665d739e7
commit
c30aee6b3c
@ -604,6 +604,10 @@ class WifiList(Page):
|
||||
self.ReturnToUpLevelPage()
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
def OnReturnBackCb(self):
|
||||
password_inputed = "".join(myvars.PasswordPage._Textarea._MyWords)
|
||||
self.ConfigWireless(password_inputed)
|
||||
|
||||
def KeyDown(self,event):
|
||||
|
||||
|
||||
@ -317,8 +317,7 @@ class Keyboard(Page):
|
||||
print("".join(self._Textarea._MyWords))
|
||||
self.ReturnToUpLevelPage()
|
||||
self._Screen.SwapAndShow()
|
||||
## config and connect now
|
||||
myvars.ScanPage.ConfigWireless( "".join(self._Textarea._MyWords))
|
||||
#Uplevel page invokes OnReturnBackCb,eg: ConfigWireless
|
||||
|
||||
if event.key == CurKeys["A"]:
|
||||
self._Textarea.RemoveFromLastText()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user