From 8358ca44efa625be9cd69fab870dfcf9c2a05df5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 11 Oct 2022 11:25:46 -0500 Subject: Change Node to Box --- tableCallbacks.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tableCallbacks.go') 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") -- cgit v1.2.3