TODO: investigate this panic()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-09 10:50:39 -06:00
parent ec829f6e2b
commit f4b0273fc1
1 changed files with 2 additions and 1 deletions

View File

@ -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: