From f4b0273fc18af689c9fa06d35e24951a6590756a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 9 Feb 2024 10:50:39 -0600 Subject: [PATCH] TODO: investigate this panic() Signed-off-by: Jeff Carr --- init.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.go b/init.go index 53d17c2..3ea2372 100644 --- a/init.go +++ b/init.go @@ -29,7 +29,8 @@ func (me *TreeInfo) newAction(a widget.Action) { log.Log(TREEWARN, "tree.FindWidgetId() n == nil", a.WidgetId, a.WidgetType, a.ActionType) log.Log(TREEWARN, "tree.FindWidgetId() n == nil", a.State.CurrentS) log.Log(TREEWARN, "tree.FindWidgetId() n == nil. This should not happen. Bug in gui or tree package?") - // return + log.Log(TREEWARN, "tree.FindWidgetId() n == nil. A bug in your application?") + return } switch a.ActionType { case widget.SetText: