summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbox.go b/checkbox.go
index 2ab3f44..8864109 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -3,7 +3,7 @@ package gui
import "git.wit.org/wit/gui/toolkit"
func (n *Node) Checked() bool {
- return n.widget.B
+ return n.B
}
func (n *Node) NewCheckbox(name string) *Node {