summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go2
1 files changed, 1 insertions, 1 deletions
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)