actually use the string passed
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
c43ef7e7e3
commit
5c07e5f605
2
gui.go
2
gui.go
|
@ -183,7 +183,7 @@ func defaultFontButtonClick(button *ui.FontButton) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateButton(name string, note string, custom func(int, string)) *ui.Button {
|
func CreateButton(name string, note string, custom func(int, string)) *ui.Button {
|
||||||
newB := ui.NewButton("OK")
|
newB := ui.NewButton(name)
|
||||||
|
|
||||||
newB.OnClicked(defaultButtonClick)
|
newB.OnClicked(defaultButtonClick)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue