summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index dc43d26..3fabc6c 100644
--- a/main.go
+++ b/main.go
@@ -139,7 +139,7 @@ func (n *Node) gotUserEvent(a widget.Action) {
switch n.WidgetType {
case widget.Checkbox:
// n.checked = a.State.Checked // TODO: do this and/or time to switch to protobuf
- n.checked = widget.GetBool(a.Value)
+ n.checked = a.State.Checked
default:
}