summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tableCallbacks.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go
index 7c05d0e..6e6d14c 100644
--- a/tableCallbacks.go
+++ b/tableCallbacks.go
@@ -24,6 +24,10 @@ func (mh *TableData) ColumnTypes(m *ui.TableModel) []ui.TableValue {
// TODO: Figure out why this is being called 1000 times a second (10 times for each row & column)
// Nevermind this TODO. Who gives a shit. This is a really smart way to treat the OS toolkits
func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue {
+ humanID := mh.Rows[row].Cells[column].HumanID
+ if (column == mh.Rows[row].Human[humanID].TextID) {
+ return mh.Rows[row].Human[humanID].Text
+ }
return mh.Rows[row].Cells[column].Value
}