From 5c07e5f605cb74ed0a1504e2386ba565f37b49f4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 May 2019 11:27:58 -0700 Subject: [PATCH] actually use the string passed Signed-off-by: Jeff Carr --- gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.go b/gui.go index 5d3c357..3218667 100644 --- a/gui.go +++ b/gui.go @@ -183,7 +183,7 @@ func defaultFontButtonClick(button *ui.FontButton) { } func CreateButton(name string, note string, custom func(int, string)) *ui.Button { - newB := ui.NewButton("OK") + newB := ui.NewButton(name) newB.OnClicked(defaultButtonClick)