summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/checkbox.go b/checkbox.go
index ac82d7f..4b5f4f2 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -15,9 +15,11 @@ func setChecked(n *tree.Node, b bool) {
var tk *guiWidget
tk = n.TK.(*guiWidget)
- if tk.node.State.Label == "" {
- tk.node.State.Label = "BLANK"
- }
+ /*
+ if tk.node.State.Label == "" {
+ tk.node.State.Label = "BLANK"
+ }
+ */
if tk.node.State.Checked {
log.Log(WARN, "setCheckbox() got true", tk.node.State.Checked)
tk.labelN = "X " + tk.node.State.Label
@@ -36,9 +38,11 @@ func (w *guiWidget) setCheckbox() {
log.Log(WARN, "setCheckbox() being run on widget:", w.node.WidgetType)
return
}
- if w.node.State.Label == "" {
- w.node.State.Label = "BLANK"
- }
+ /*
+ if w.node.State.Label == "" {
+ w.node.State.Label = "BLANK"
+ }
+ */
if w.node.State.Checked {
log.Log(WARN, "setCheckbox() got true", w.node.State.Checked)
w.labelN = "X " + w.node.State.Label