From a8d43bea8201d07bf2b371d87100e8e98fa1628e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 23 May 2019 15:23:26 -0700 Subject: [PATCH] try nil for all BG row colors Signed-off-by: Jeff Carr --- tableCallbacks.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tableCallbacks.go b/tableCallbacks.go index 3df6dd8..71dc6b8 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -51,7 +51,10 @@ func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue return ui.TableString(mh.Rows[row].HumanData[humanID].Text) } if (column == mh.Human[humanID].ColorID) { - return libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color) + if (column == 0) { + log.Println("CellValue() is BG COLOR row, column =", row, column) + return nil + } return libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color) } log.Println("CellValue() FAILURE")