summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-19 04:06:27 -0600
committerJeff Carr <[email protected]>2025-02-19 17:39:45 -0600
commit377b08eeb6e21564f09a50db03ddd26e4e1f575f (patch)
tree6f9bf5bca9fd6921ed193460c1b0a065eddaba81 /eventMouseClick.go
parent22e139e2e5fcf63b6387cc606c2dd68283c2c598 (diff)
protobuf stuff
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 6cdffd4..3656e51 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -60,7 +60,7 @@ func doMouseClick(w int, h int) {
for _, tk := range win.findByXYreal(w, h) {
switch tk.WidgetType() {
case widget.Checkbox:
- if tk.node.State.Checked {
+ if tk.Checked() {
log.Log(WARN, "checkbox is being set to false")
tk.node.State.Checked = false
tk.setCheckbox()