diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 15:17:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 15:17:51 -0600 |
| commit | a4a2ccd80592b4c20605e3f22f8c6ca73a7eac77 (patch) | |
| tree | 5ce0aca7791995a97eccbf733ee4e0104bccb07a /action.go | |
| parent | 1fdf786a72fd4af0c1acca45b250b5f66ef3e31b (diff) | |
silence output
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
| -rw-r--r-- | action.go | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -74,11 +74,17 @@ func sendAction(n *Node, atype widget.ActionType) { // set if the widget is visable based on the parent // this has nothing to do with show() and hide() if n.ParentVisable() { - log.Log(NOW, "Parent is visable n =", n.id, n.WidgetType, n.GetProgName()) + log.Log(INFO, "Parent is visable n =", n.id, n.WidgetType, n.GetProgName()) + if n.visable != true { + log.Log(INFO, "switching visable=true", n.id, n.WidgetType, n.GetProgName()) + } n.visable = true } else { - log.Log(NOW, "Parent is not visable n =", n.id, n.WidgetType, n.GetProgName()) - log.Log(NOW, "not sending action to toolkits") + log.Log(INFO, "Parent is not visable n =", n.id, n.WidgetType, n.GetProgName()) + log.Log(INFO, "not sending action to toolkits") + if n.visable != false { + log.Log(INFO, "switching visable=false", n.id, n.WidgetType, n.GetProgName()) + } n.visable = false return } |
