summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-27 09:55:16 -0600
committerJeff Carr <[email protected]>2024-01-27 09:55:16 -0600
commitad0b252feb1bd3e758150b326c778fe4636ffe49 (patch)
treec75b5c63e60781bbe3fa4a3e2a75915f685efcc4 /action.go
parent904801c593617810085e6b445224f0dacc4117c7 (diff)
nocui worksv0.13.14
set enable state Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
-rw-r--r--action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.go b/action.go
index 0eecda1..4272424 100644
--- a/action.go
+++ b/action.go
@@ -111,7 +111,7 @@ func sendAction(n *Node, atype widget.ActionType) {
a.State.Checked = n.checked
a.State.Visable = n.visable
// TODO: if visable == false here, return
- a.State.Hidden = n.hidden
+ a.State.Enable = n.enabled
a.State.Pad = n.pad
a.State.Expand = n.expand
a.State.Borderless = n.borderless