diff options
Diffstat (limited to 'andlabs/action.go')
| -rw-r--r-- | andlabs/action.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/andlabs/action.go b/andlabs/action.go index e0cdcff..0e4791d 100644 --- a/andlabs/action.go +++ b/andlabs/action.go @@ -8,6 +8,12 @@ import ( "go.wit.com/gui/widget" ) +func (n *node) ready() bool { + if n == nil { return false } + if n.tk == nil { return false } + return true +} + func (n *node) show(b bool) { if n.tk == nil { return @@ -225,6 +231,7 @@ func rawAction(a *widget.Action) { case widget.Enable: n.enable(true) case widget.Disable: + log.Warn("andlabs got disable for", n.WidgetId, n.progname) n.enable(false) case widget.Get: n.setText(a) |
