summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'table.go')
-rw-r--r--table.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/table.go b/table.go
index 57d7e44..24347cd 100644
--- a/table.go
+++ b/table.go
@@ -42,6 +42,17 @@ func (me *TreeInfo) doTable(a widget.Action) {
// }
// dumpTable(t)
// me.ShowTable(t)
+ log.Info("TREE FOUND TABLE UUID", t.Uuid)
+ for i, ot := range me.currentTables {
+ log.Info("TREE already has UUID", i, ot.Uuid)
+ if t.Uuid == ot.Uuid {
+ log.Info("TREE found UUID! update table here", i, ot.Uuid)
+ log.Info("todo: compare table here...")
+ return
+ }
+ }
+
+ me.currentTables = append(me.currentTables, t)
me.makeTable(t)
}
}