diff options
| author | Jeff Carr <[email protected]> | 2024-01-19 20:35:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-19 20:35:33 -0600 |
| commit | 54a01b3bf13758e1ffc8815e445bab003a9f4cfb (patch) | |
| tree | 088247d427639ecbb1b87e9db869a078d12e923e | |
| parent | d15fa1cf88cc7652b70217906155bde2c0e6f5d6 (diff) | |
ignore deletes when they are already deleted
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | action.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
