From dd753552fdd28cc1feff911e51976a6946c502d1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 12 May 2019 21:01:22 -0700 Subject: some data is flowing all the way through to the GUI for the first time Signed-off-by: Jeff Carr --- gui.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gui.go') 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 -- cgit v1.2.3