summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-12 21:01:22 -0700
committerJeff Carr <[email protected]>2019-05-12 21:01:22 -0700
commitdd753552fdd28cc1feff911e51976a6946c502d1 (patch)
treee411b9243edec2a572a13a6dab5c2b3e3d9a5e06 /gui.go
parentc58f4d0c61b9e5731a69ff2ce75111c37dd818ae (diff)
some data is flowing all the way through to the GUI for the first time
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index d16e1ef..1ac1623 100644
--- a/gui.go
+++ b/gui.go
@@ -91,8 +91,13 @@ func initColumnNames(mh *TableData, cellJWC string, junk string) {
func initRow(mh *TableData, row int, parts []InputData) {
tmpBTindex := 0
+ humanID := 0
for key, foo := range parts {
log.Println(key, foo)
+
+ parts[key].Index = humanID
+ humanID += 1
+
if (foo.CellType == "BG") {
initRowBTcolor (mh, row, tmpBTindex, parts[key])
tmpBTindex += 1