summaryrefslogtreecommitdiff
path: root/splash.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-24 20:54:09 -0700
committerJeff Carr <[email protected]>2019-05-24 20:54:09 -0700
commitfdd473b23b562bb247375f47a12988118802cd9b (patch)
tree0a09ad7fa9354645771b0db0cce5d3a38246ee14 /splash.go
parentda315467cc0311bf436306274b2434656276bf81 (diff)
single CreateButton function
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'splash.go')
-rw-r--r--splash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/splash.go b/splash.go
index b60445c..c4ed9c9 100644
--- a/splash.go
+++ b/splash.go
@@ -45,7 +45,7 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(*ButtonMap)) *ui.Bo
}
}
- okButton := CreateButton("OK", "DONE", custom)
+ okButton := CreateButton(nil, nil, "OK", "DONE", custom)
newbox.Append(okButton, false)
if (vbox != nil) {