small fix
This commit is contained in:
parent
0fadcf5676
commit
e1bd926237
@ -84,7 +84,7 @@ func main() {
|
|||||||
txtResults.ShowLineNumbers = true
|
txtResults.ShowLineNumbers = true
|
||||||
|
|
||||||
loadPasswordsBtn.Disable()
|
loadPasswordsBtn.Disable()
|
||||||
// addPasswordBtn.Disable()
|
addPasswordBtn.Disable()
|
||||||
enrollBtn.Disable()
|
enrollBtn.Disable()
|
||||||
|
|
||||||
cntButtons := container.NewGridWithColumns(4, authBtn, loadPasswordsBtn, addPasswordBtn, enrollBtn)
|
cntButtons := container.NewGridWithColumns(4, authBtn, loadPasswordsBtn, addPasswordBtn, enrollBtn)
|
||||||
@ -146,6 +146,7 @@ func handleSerial() {
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Error occured: %v", err.Error())
|
fmt.Printf("Error occured: %v", err.Error())
|
||||||
|
time.Sleep(time.Second * 2)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -248,5 +249,9 @@ func handlePacket(packet *Packet) {
|
|||||||
|
|
||||||
loadPasswordsBtn.Disable()
|
loadPasswordsBtn.Disable()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if packet.Type == "password" {
|
||||||
|
dialog.ShowInformation("Password", "Password: "+packet.Data, window)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user