also set the color
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
e5158c4ade
commit
12e37b4d1f
|
@ -28,6 +28,9 @@ func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue
|
||||||
if (column == mh.Rows[row].Human[humanID].TextID) {
|
if (column == mh.Rows[row].Human[humanID].TextID) {
|
||||||
return mh.Rows[row].Human[humanID].Text
|
return mh.Rows[row].Human[humanID].Text
|
||||||
}
|
}
|
||||||
|
if (column == mh.Rows[row].Human[humanID].ColorID) {
|
||||||
|
return mh.Rows[row].Human[humanID].Color
|
||||||
|
}
|
||||||
return mh.Rows[row].Cells[column].Value
|
return mh.Rows[row].Cells[column].Value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue