summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-03 09:13:25 -0400
committerPietro Gagliardi <[email protected]>2014-08-03 09:13:25 -0400
commit585f5f5b62da3170d4398b39670d16811013d078 (patch)
tree8b1576a2acffdffe5d8c8e05dc51e16ec724a8b0
parentac5c57750712f7a255b82ec8c41187092369402c (diff)
Applied previous commit's change to the test program.
-rw-r--r--redo/zz_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go
index 2552642..c04b669 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -98,7 +98,7 @@ func (tw *testwin) make(done chan struct{}) {
})
tw.t.Append("Button", tw.b)
tw.c = NewCheckbox("You Should Now See Me Instead")
- tw.c.OnClicked(func() {
+ tw.c.OnToggled(func() {
tw.w.SetTitle(fmt.Sprint(tw.c.Checked()))
})
tw.t.Append("Checkbox", tw.c)