diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,12 @@ func (n *Node) Bool() bool { return false } + switch n.WidgetType { + case widget.Checkbox: + return n.checked + default: + } + return widget.GetBool(n.value) } |
