summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-22 17:34:15 -0600
committerJeff Carr <[email protected]>2024-02-22 17:34:15 -0600
commit2de5864fff19e2f794e85385d075aa8e4049d709 (patch)
tree91063ba52394eb50fc2b6c270d143c8014a2e8fe /checkbox.go
parent647bb86717fb25fc3a02890df70d5a16c7ccce1c (diff)
quiet earlier checkbox debugging code
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