summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-30 11:48:12 -0600
committerJeff Carr <[email protected]>2024-01-30 11:48:12 -0600
commitad3ce867730c20977c4597374a80047f5032189d (patch)
treeb83b3602028d623929ad6264e279cb8683c5c750 /action.go
parent8dc3a3bf8685a2caa2aca182981dda12844c15c1 (diff)
fixed hidden. damn it. I wasn't setting the State.
can't wait to switch to protobuf Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
-rw-r--r--action.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.go b/action.go
index a547699..36ac8e0 100644
--- a/action.go
+++ b/action.go
@@ -64,6 +64,7 @@ func getNewAction(n *Node, atype widget.ActionType) *widget.Action {
a.State.Checked = n.checked
a.State.Visable = n.visable
+ a.State.Hidden = n.hidden
// TODO: if visable == false here, return
a.State.Enable = n.enabled
a.State.Pad = n.pad