summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 15:02:09 -0600
committerJeff Carr <[email protected]>2024-02-05 15:02:09 -0600
commita57a8b5a6348a9142088a0170a3682cdc0ecdb23 (patch)
tree618771ba9ba68d612a981b4fa0fa475304b15267 /action.go
parent8fcf5f668b182bd382b489cd19cfdcd59628b279 (diff)
prepare for protobufv0.20.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
-rw-r--r--action.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/action.go b/action.go
index 36ac8e0..d60e982 100644
--- a/action.go
+++ b/action.go
@@ -60,7 +60,10 @@ func getNewAction(n *Node, atype widget.ActionType) *widget.Action {
// set state
a.State.ProgName = n.progname
a.State.Label = n.label
- a.State.Value = n.value
+ // a.State.Value = n.value
+ a.State.DefaultS = n.defaultS
+ a.State.CurrentS = n.currentS
+ a.State.NewString = n.newString
a.State.Checked = n.checked
a.State.Visable = n.visable
@@ -79,7 +82,7 @@ func getNewAction(n *Node, atype widget.ActionType) *widget.Action {
a.State.Range.High = n.Y
a.ProgName = n.progname
- a.Value = n.value
+ // a.Value = n.value
a.Direction = n.direction
// These should be improved/deprecated based on the gui/widget docs