summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'table.go')
-rw-r--r--table.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/table.go b/table.go
index e98e8a0..387070f 100644
--- a/table.go
+++ b/table.go
@@ -73,14 +73,15 @@ func (parent *Node) ShowTable(pb *guipb.Table) {
log.Info("unmarshal error", err)
return
}
- log.Info("send action to plugin", "pb len =", len(a.TablePB))
+ log.Info("NewStable() send action to plugin", "pb len =", len(a.TablePB))
sendActionToPlugin(a)
}
func (parent *Node) UpdateTable(pb *guipb.Table) {
- log.Info("UpdateTable:", pb.Title)
a := getNewAction(parent, widget.Show)
+ log.Info("gui.UpdateTable() TODO: move the widget update val logic here instead of tree")
+
nt := guipb.NewTables()
nt.Append(pb)
a.TablePB, err = nt.Marshal()
@@ -88,7 +89,6 @@ func (parent *Node) UpdateTable(pb *guipb.Table) {
log.Info("unmarshal error", err)
return
}
- log.Info("send action to plugin", "pb len =", len(a.TablePB))
sendActionToPlugin(a)
}