summaryrefslogtreecommitdiff
path: root/tableCallbacks.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-23 15:23:26 -0700
committerJeff Carr <[email protected]>2019-05-23 15:23:26 -0700
commita8d43bea8201d07bf2b371d87100e8e98fa1628e (patch)
treef1b347f08e35c28b63c4fd398980230c38b3afb3 /tableCallbacks.go
parent07b16e36729ec6f580995824bd5116ee4d99cf82 (diff)
try nil for all BG row colors
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tableCallbacks.go')
-rw-r--r--tableCallbacks.go5
1 files changed, 4 insertions, 1 deletions
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")