diff options
| author | Jeff Carr <[email protected]> | 2022-10-11 11:25:46 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-10-11 11:25:46 -0500 |
| commit | 8358ca44efa625be9cd69fab870dfcf9c2a05df5 (patch) | |
| tree | 82a012480818d6825f01ce9bc5b62847347629c1 /tableCallbacks.go | |
| parent | 45644ef9bc333f5def62d1c7f474dc96274e63fa (diff) | |
Change 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") |
