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