summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkbox.go b/checkbox.go
index fe46023..6427d0c 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -63,10 +63,11 @@ func (c *Checkbox) make(window *sysData) error {
c.lock.Lock()
defer c.lock.Unlock()
- err := c.sysData.make(c.initText, window)
+ err := c.sysData.make(window)
if err != nil {
return err
}
+ c.sysData.setText(c.initText)
c.created = true
return nil
}