diff options
| author | Jeff Carr <[email protected]> | 2019-05-22 11:27:58 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-22 11:27:58 -0700 |
| commit | 5c07e5f605cb74ed0a1504e2386ba565f37b49f4 (patch) | |
| tree | 4faeb473f8e7cd5e3703a4be402f819813aae4ff | |
| parent | c43ef7e7e3c3048f52c3e4051ef10f111f2ef1a0 (diff) | |
actually use the string passed
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
