summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--action.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/action.go b/action.go
index 42b0fbe..25f780a 100644
--- a/action.go
+++ b/action.go
@@ -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)