summaryrefslogtreecommitdiff
path: root/splash.go
diff options
context:
space:
mode:
Diffstat (limited to 'splash.go')
-rw-r--r--splash.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/splash.go b/splash.go
index da2f8f4..92f154d 100644
--- a/splash.go
+++ b/splash.go
@@ -57,9 +57,12 @@ func ShowSplashBox(wm *GuiWindow, newText *ui.AttributedString) *ui.Box {
}
log.Println("ShowSplashBox() START wm =", wm)
+
okButton := CreateButton(wm, nil, nil, "OK", "AREA", nil)
- newbox.Append(okButton, false)
- newbox.Append(CreateButton(wm, nil, nil, "NEWTEXT", "NEWTEXT", nil), false)
+ newbox.Append(okButton.B, false)
+
+ okButton = CreateButton(wm, nil, nil, "NEWTEXT", "NEWTEXT", nil)
+ newbox.Append(okButton.B, false)
// os.Exit(0)
return newbox