summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-23 07:37:24 -0500
committerJeff Carr <[email protected]>2023-04-23 07:37:24 -0500
commit2d4d2b6b3e115a86a10f98c20de0e4e82be519c2 (patch)
tree4cab36495872e70220e47b1790189249c3e2bcdc /checkbox.go
parentaeb998eea5ef67c1c87664340b89b5e415fb0747 (diff)
actually ran again without crashing
Signed-off-by: Jeff Carr <[email protected]>
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 {