From f98164e2fcc87a303caec9af632a9143e2c633c3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 May 2019 17:28:24 -0700 Subject: [PATCH] make the button add the tab Signed-off-by: Jeff Carr --- test2/main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test2/main.go b/test2/main.go index 48d2953..766e3de 100644 --- a/test2/main.go +++ b/test2/main.go @@ -39,7 +39,10 @@ func main() { } func buttonClick(i int, s string) { - log.Println("buttonClick() i, s =", i, s) + log.Println("test2 buttonClick() i, s =", i, s) + smallBox = account1.AddAccountBox(nil, splashClose) + cloudTab.InsertAt("Intro", 1, smallBox) + cloudTab.SetMargined(0, true) } func watchGUI() { @@ -104,5 +107,5 @@ func makeCloudWindow() { cloudTab.SetMargined(0, true) cloudWindow.Show() - state = "splash" + // state = "done" }