subbed in table()

This commit is contained in:
Jeff Carr 2025-02-13 20:33:04 -06:00
parent a16207bd1e
commit 5530d2c6ad
3 changed files with 13 additions and 7 deletions

View File

@ -49,12 +49,6 @@ func setLabel(n *tree.Node, s string) {
})
}
func showTable(n *tree.Node) {
ui.QueueMain(func() {
log.Info("show table here")
})
}
func realSetText(n *tree.Node, s string) {
ui.QueueMain(func() {
SetText(n, s)

13
table.go Normal file
View File

@ -0,0 +1,13 @@
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0
package main
import (
"go.wit.com/lib/protobuf/guipb"
"go.wit.com/log"
)
func showTable(t *guipb.Table) {
log.Info("should show table here")
}

View File

@ -63,7 +63,6 @@ func initTree() *tree.TreeInfo {
t.SetChecked = setChecked
t.ToolkitClose = toolkitClose
t.ShowTable = showTable
t.Show = showTable
return t
}