diff options
Diffstat (limited to 'table.go')
| -rw-r--r-- | table.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) } |
