From c1e3a3b30352fb24e42655d931ca180f3f864257 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 2 Jun 2019 11:02:03 -0700 Subject: [PATCH] doesn't crash again Signed-off-by: Jeff Carr --- gui-accountPage.go | 3 ++- gui-splashPage.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gui-accountPage.go b/gui-accountPage.go index b7ef72a..2a08f64 100644 --- a/gui-accountPage.go +++ b/gui-accountPage.go @@ -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) diff --git a/gui-splashPage.go b/gui-splashPage.go index f640ed7..b65588e 100644 --- a/gui-splashPage.go +++ b/gui-splashPage.go @@ -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")