more debugging

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-21 17:20:43 -07:00
parent 977c054d71
commit 65d31eff26
1 changed files with 3 additions and 1 deletions

View File

@ -293,7 +293,7 @@ func demoSetCellValue(mh *modelHandler, m *ui.TableModel, row, column int, value
}
func (mh *modelHandler) NumRows(m *ui.TableModel) int {
log.Println("NumRows() with m=", m)
log.Println("NumRows() with mh=rows", mh.rows)
return mh.rows
}
@ -314,6 +314,8 @@ func (mh *modelHandler) CellValue(m *ui.TableModel, row, column int) ui.TableVal
log.Println("CellValue NOT DEFINED. This table wasn't setup correctly! mh.scanCellValue == nil")
os.Exit(-1)
}
log.Println("CellValue scanCellValue = ", mh.scanCellValue(mh, row, column))
log.Println("CellValue END")
return mh.scanCellValue(mh, row, column)
}