diff options
| author | Jeff Carr <[email protected]> | 2021-10-05 10:23:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-05 10:23:27 -0500 |
| commit | 7ba7b97fa9d385e18c1f9636553db254f14383d0 (patch) | |
| tree | 973da9d78f143ffd9e7faab06fa9b67499f4fe0f /entry.go | |
| parent | 11815517c6e566e47d3da61c4b852dd791dbd799 (diff) | |
BUG: fix potential 'nil' reference
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'entry.go')
| -rw-r--r-- | entry.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ import "github.com/davecgh/go-spew/spew" // functions for handling text entry boxes func NewLabel(box *GuiBox, text string) { - box.UiBox.Append(ui.NewLabel(text), false) + box.Append(ui.NewLabel(text), false) } func GetText(box *GuiBox, name string) string { |
