diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 06:00:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 06:00:18 -0600 |
| commit | 81e047fbe884220b36f6ef7cd9520cd4360a569d (patch) | |
| tree | 8eb0d6d9ecafa5310f475e694dc4de0aae7258b5 /action.go | |
| parent | eb3b60abb6ccf8fb2731061bc856b3960d698683 (diff) | |
reminders about errors
Diffstat (limited to 'action.go')
| -rw-r--r-- | action.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -103,6 +103,7 @@ func getNewAction(n *Node, atype widget.ActionType) *widget.Action { return &a } +// 2025/02/09 this will continue to suck until I switch it to protocol buffers // 2024/01/11 finally moving to type any. simplify to just 'value' // 2023/05/09 pretty clean // 2023/04/06 Queue() is also being used and channels are being used. @@ -111,6 +112,9 @@ func sendAction(n *Node, atype widget.ActionType) { log.Error(errors.New("Sending Action on n = nil")) return } + if atype == widget.Disable { + log.Log(WARN, "START got DISABLE action ", n.id, n.WidgetType, n.GetProgName()) + } n.mu.Lock() defer n.mu.Unlock() // log.Log(PLUG, "SENDING ACTION STRINGS n.Strings", n.strings, n.id, n.WidgetType, n.GetProgName()) @@ -151,6 +155,9 @@ func sendAction(n *Node, atype widget.ActionType) { return } } + if atype == widget.Disable { + log.Log(WARN, "END got DISABLE action ", n.id, n.WidgetType, n.GetProgName()) + } // make a new action and populate the current node state a := getNewAction(n, atype) |
