summaryrefslogtreecommitdiff
path: root/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'entry.go')
-rw-r--r--entry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entry.go b/entry.go
index db5013a..d7f31c9 100644
--- a/entry.go
+++ b/entry.go
@@ -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 {