try nil for all BG row colors

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-23 15:23:26 -07:00
parent 07b16e3672
commit a8d43bea82
1 changed files with 4 additions and 1 deletions

View File

@ -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) return ui.TableString(mh.Rows[row].HumanData[humanID].Text)
} }
if (column == mh.Human[humanID].ColorID) { 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) return libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color)
} }
log.Println("CellValue() FAILURE") log.Println("CellValue() FAILURE")