have the splash screen work again
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
9924d6eddf
commit
ef198702d0
9
main.go
9
main.go
|
@ -172,10 +172,6 @@ func mainMouseClick(b *gui.ButtonMap) {
|
|||
log.Println("\tmainMouseClick() setting current account = ", b.Account.Nick)
|
||||
}
|
||||
if (b.Action == "AREA") {
|
||||
gui.Data.State = "splash"
|
||||
gui.Data.State = "account1"
|
||||
// gui.ShowAccountQuestionTab(0, b.B)
|
||||
gui.ShowAccountQuestionTab()
|
||||
if (config == nil) {
|
||||
log.Println("gui.State = splash BUT SOMETHING HAS GONE VERY WRONG")
|
||||
log.Println("gui.State = splash BUT SOMETHING HAS GONE VERY WRONG")
|
||||
|
@ -191,6 +187,11 @@ func mainMouseClick(b *gui.ButtonMap) {
|
|||
log.Println("THIS IS LAME. CONFIG FILE MADE NULL ACCOUNTS key =", key)
|
||||
}
|
||||
}
|
||||
if (gui.Data.State == "splash") {
|
||||
gui.ShowAccountQuestionTab()
|
||||
gui.Data.State = "account1"
|
||||
return
|
||||
}
|
||||
if (gui.Data.State == "main") {
|
||||
gui.ShowMainTab()
|
||||
gui.Data.State = "done"
|
||||
|
|
Loading…
Reference in New Issue