subbed in table()
This commit is contained in:
parent
a16207bd1e
commit
5530d2c6ad
6
init.go
6
init.go
|
@ -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) {
|
func realSetText(n *tree.Node, s string) {
|
||||||
ui.QueueMain(func() {
|
ui.QueueMain(func() {
|
||||||
SetText(n, s)
|
SetText(n, s)
|
||||||
|
|
|
@ -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")
|
||||||
|
}
|
|
@ -63,7 +63,6 @@ func initTree() *tree.TreeInfo {
|
||||||
t.SetChecked = setChecked
|
t.SetChecked = setChecked
|
||||||
t.ToolkitClose = toolkitClose
|
t.ToolkitClose = toolkitClose
|
||||||
t.ShowTable = showTable
|
t.ShowTable = showTable
|
||||||
t.Show = showTable
|
|
||||||
|
|
||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue