handle ToolkitClose() in plugins
This commit is contained in:
parent
5437b68670
commit
404e2ef116
|
@ -172,6 +172,9 @@ func (me *TreeInfo) doAction(a widget.Action) {
|
|||
}
|
||||
me.DeleteNode(n)
|
||||
// now remove the child from the parent
|
||||
case widget.ToolkitClose:
|
||||
log.Info("tree.ToolkitClose()")
|
||||
me.ToolkitClose()
|
||||
default:
|
||||
log.Log(TREEWARN, "tree.Action() unknown action", a.ActionType, "on wId", a.WidgetId)
|
||||
// me.NodeAction(n, a.ActionType)
|
||||
|
|
Loading…
Reference in New Issue