doesn't crash again

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-02 11:02:03 -07:00
parent 5067224fc8
commit c1e3a3b303
2 changed files with 4 additions and 3 deletions

View File

@ -14,12 +14,13 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
gui.NewLabel(box, "Hostname:")
gui.HardHorizontalBreak(box)
box = gui.HardHorizontalBox(gw)
tmp := gui.Data.Hostname + " (" + gui.Data.IPv6 + ")"
gui.MakeEntryHbox(box, "hostname:", tmp, true, "Hostname")
for key, a := range config.Accounts {
gui.HardVerticalBreak(box)
log.Println("account = ", key, a)
log.Println("Accounts[key] = ", config.Accounts[key])
log.Println("account.Nick = ", config.Accounts[key].Nick)

View File

@ -71,12 +71,12 @@ func splashClick(b *gui.GuiButton) {
}
// if there is not an account, then go to 'make account'
gw.MakeWindow = addSubdomainQuestionBox
gw = gui.ShowTab(gw, "Box2", "New Account?")
gw = gui.ShowTab(gw, "Box22", "New Account?")
}
func addSubdomainQuestionBox(gw *gui.GuiWindow) *gui.GuiBox {
log.Println("addSubdomainQuestionBox() START")
box := gui.AddGenericBox(gw)
box := gui.AddGenericBox(gw, "addSubdomainQuestion")
gui.NewLabel(box, "Enter your Subdomain or")