diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 15:00:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 15:00:37 -0500 |
| commit | 70f8797122741ef61951d3400317173a1d9974da (patch) | |
| tree | b30dee396b571cd66655fd1f7f68c9f5eaf7a8a1 /toolkit/gocui/plugin.go | |
| parent | 789beceb913cc6132931c0e245cad78d3ae7d9b8 (diff) | |
gogui: checkboxes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/plugin.go')
| -rw-r--r-- | toolkit/gocui/plugin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/gocui/plugin.go b/toolkit/gocui/plugin.go index 396042b..eb3f2af 100644 --- a/toolkit/gocui/plugin.go +++ b/toolkit/gocui/plugin.go @@ -69,6 +69,7 @@ func (w *cuiWidget) Set(val any) { switch v := val.(type) { case bool: w.b = val.(bool) + w.setCheckbox(val.(bool)) case string: w.SetText(val.(string)) case int: |
