diff options
| author | Jeff Carr <[email protected]> | 2022-10-08 23:51:48 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-10-08 23:51:48 -0500 |
| commit | dd7d277a86f25116cc1c0130a763409a166d49b4 (patch) | |
| tree | 7bf1f9b67f2f3d34e5153ccfa0b60c72cf9fb774 /tableCallbacks.go | |
| parent | 086986b6b8f55d15d18595bcbf3f76c023365b61 (diff) | |
Try renaming 'Node' to 'Box'
Diffstat (limited to 'tableCallbacks.go')
| -rw-r--r-- | tableCallbacks.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go index f294a9b..6eefd8d 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -95,12 +95,9 @@ func defaultSetCellValue(mh *TableData, row int, column int) { humanID := mh.Cells[column].HumanID log.Println("defaultSetCellValue() FOUND THE TABLE BUTTON ", row, humanID) - n := mh.Rows[row].HumanData[humanID].N - if (n != nil) { - // TODO: fixme. removed on Oct 31 2021 - if (n.OnChanged != nil) { - n.OnChanged() - } + button := mh.Rows[row].HumanData[humanID].Button + if (button != nil) { + guiButtonClick(button) return } log.Println("defaultSetCellValue() ERROR: UNKNOWN BUTTON IN TABLE") |
