mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
bug fix
This commit is contained in:
parent
f023c503d0
commit
709fe20f49
@ -902,7 +902,9 @@ func (self *WifiList) AbortedAndReturnToUpLevel() {
|
|||||||
|
|
||||||
func (self *WifiList) OnReturnBackCb() {
|
func (self *WifiList) OnReturnBackCb() {
|
||||||
password_inputed := strings.Join(APIOBJ.PasswordPage.Textarea.MyWords,"")
|
password_inputed := strings.Join(APIOBJ.PasswordPage.Textarea.MyWords,"")
|
||||||
self.ConfigWireless(password_inputed)
|
if self.Screen.DBusManager.IsWifiConnectedNow() == false {
|
||||||
|
self.ConfigWireless(password_inputed)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *WifiList) KeyDown( ev *event.Event ) {
|
func (self *WifiList) KeyDown( ev *event.Event ) {
|
||||||
|
|||||||
@ -100,7 +100,7 @@ func (self *ConfirmPage) SnapMsg(msg string) {
|
|||||||
x,y := self.MyList[0].Coord()
|
x,y := self.MyList[0].Coord()
|
||||||
w,h := self.MyList[0].Size()
|
w,h := self.MyList[0].Size()
|
||||||
|
|
||||||
self.MyList[0].NewCoord( (self.Width - w )/2, (self.Width - h)/2 )
|
self.MyList[0].NewCoord( (self.Width - w )/2, (self.Height - h)/2 )
|
||||||
|
|
||||||
x, y = self.MyList[0].Coord()
|
x, y = self.MyList[0].Coord()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user