diff options
Diffstat (limited to 'checkbox.go')
| -rw-r--r-- | checkbox.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/checkbox.go b/checkbox.go index dc148e2..9a83852 100644 --- a/checkbox.go +++ b/checkbox.go @@ -42,11 +42,7 @@ func (c *Checkbox) Checked() bool { c.lock.Lock() defer c.lock.Unlock() - check, err := c.sysData.isChecked() - if err != nil { - panic(err) // TODO - } - return check + return c.sysData.isChecked() } func (c *Checkbox) make(window *sysData) error { |
