summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
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()