summaryrefslogtreecommitdiff
path: root/choices.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-02 15:13:21 -0600
committerJeff Carr <[email protected]>2024-02-02 15:13:21 -0600
commit1a0de8d839d9f55c3f65bd1ea0baa4b3e7474c22 (patch)
treef978c48b315328a81be68d9bc7b68a266f0d43ff /choices.go
parent7a42716b987b995217073b3de22a3898f735958d (diff)
show the user changed the dropdownv0.19.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'choices.go')
-rw-r--r--choices.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/choices.go b/choices.go
index 99b94e6..ee496d5 100644
--- a/choices.go
+++ b/choices.go
@@ -39,6 +39,9 @@ func newChoices(parent *gui.Node) *choices {
c.computers.AddText("Beagleboard")
c.computers.AddText("Unmatched Rev B")
c.computers.SetText("Beagleboard")
+ c.computers.Custom = func() {
+ log.Info("You changed the computer to:", c.computers.String())
+ }
c.colors = c.grid.NewCombobox().SetProgName("COLORS")
c.colors.AddText("Cyan")