summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-10 11:06:07 -0400
committerPietro Gagliardi <[email protected]>2014-03-10 11:06:07 -0400
commit699f786cd5360ce851a0542c218f0d9cb919d608 (patch)
treeeab56ce0a7e1f052d6932995e750b6c97e121b37 /test/main.go
parenta68bdec2fd8a23230ed12348c3801d349b19dea2 (diff)
Fixed compiler errors in the previous few commits.
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/main.go b/test/main.go
index 20f5bdf..911dffa 100644
--- a/test/main.go
+++ b/test/main.go
@@ -140,15 +140,12 @@ mainloop:
case <-w.Closing:
break mainloop
case <-b.Clicked:
- err = w.SetTitle(fmt.Sprintf("%v | %s | %s | %s | %s",
+ w.SetTitle(fmt.Sprintf("%v | %s | %s | %s | %s",
c.Checked(),
cb1.Selection(),
cb2.Selection(),
e.Text(),
password.Text()))
- if err != nil {
- panic(err)
- }
doAdjustments()
case <-b2.Clicked:
if cb1.Len() > 1 {