summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkbox.go b/checkbox.go
index f7c96da..17cceae 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -21,8 +21,10 @@ func (parent *Node) NewCheckbox(name string) *Node {
newNode.label = name
newNode.progname = name
+ // setting a default custom value here has
+ // been helpful in debugging toolkits
newNode.Custom = func() {
- log.Log(WARN, "checkboxy now is", newNode.checked)
+ log.Log(CHANGE, "checkbox is now", newNode.checked)
}
// inform the toolkits