summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/action.go b/action.go
index 8f73c03..ca8b089 100644
--- a/action.go
+++ b/action.go
@@ -45,13 +45,13 @@ func doAction(a widget.Action) {
switch a.ActionType {
case widget.Show:
- n.State.Visable = true
+ n.State.Hidden = true
case widget.Hide:
- n.State.Visable = false
+ n.State.Hidden = false
case widget.Enable:
- n.State.Visable = true
+ n.State.Enable = true
case widget.Disable:
- n.State.Visable = false
+ n.State.Enable = false
case widget.Get:
log.Warn("value =", n.State.Value)
case widget.GetText: