summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/button.go b/button.go
index 92ddead..4603ee0 100644
--- a/button.go
+++ b/button.go
@@ -2,7 +2,6 @@
package main
import (
- "fmt"
"sync"
)
@@ -36,9 +35,7 @@ func (b *Button) SetText(text string) (err error) {
b.lock.Lock()
defer b.lock.Unlock()
- if b.pWin != nil && b.pWin.created {
- panic("TODO")
- }
+ // TODO handle created
b.initText = text
return nil
}