summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'table.go')
-rw-r--r--table.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table.go b/table.go
index afad70b..efc0b4e 100644
--- a/table.go
+++ b/table.go
@@ -87,11 +87,11 @@ func hideWidget(n *tree.Node) {
}
func (tk *guiWidget) deleteWidget() {
- log.Info("gocui deleteWidget() looking for child to delete:", tk.cuiName)
+ log.Log(INFO, "gocui deleteWidget() looking for child to delete:", tk.cuiName)
p := tk.parent
for i, child := range p.children {
if tk == child {
- log.Info("deleteWidget() found parent with child to delete:", i, child.cuiName, child.WidgetId())
+ log.Log(INFO, "deleteWidget() found parent with child to delete:", i, child.cuiName, child.WidgetId())
p.children = slices.Delete(p.children, i, i+1)
}
}