diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-12 21:33:24 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-12 21:33:24 -0500 |
| commit | 3d2df2334e13954c166d46013609856113db4d97 (patch) | |
| tree | 9cca792aec2040ac24725cad9c7a255f8961a390 /button.go | |
| parent | 8e2f3b136e041705098f9f8d11941c33f785258a (diff) | |
Fixed compiler errors. New code structure success!
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 } |
