ignore deletes when they are already deleted
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d15fa1cf88
commit
54a01b3bf1
|
@ -193,6 +193,10 @@ func processAction(a *widget.Action) {
|
|||
|
||||
n := me.treeRoot.FindWidgetId(a.WidgetId)
|
||||
if n == nil {
|
||||
if a.ActionType == widget.Delete {
|
||||
// this is normal. the widget is aleady deleted
|
||||
return
|
||||
}
|
||||
log.Error(errors.New("andlabs processAction() ERROR findWidgetId found nil"), a.ActionType, a.WidgetType)
|
||||
log.Log(NOW, "processAction() ERROR findWidgetId found nil for id =", a.WidgetId)
|
||||
log.Log(NOW, "processAction() ERROR findWidgetId found nil", a.ActionType, a.WidgetType)
|
||||
|
|
Loading…
Reference in New Issue