summaryrefslogtreecommitdiff
path: root/redo/textfield_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-27 12:11:55 -0400
committerPietro Gagliardi <[email protected]>2014-08-27 12:11:55 -0400
commita9961feb2cd89c1425257c544a3a2955f70199de (patch)
treebe75fdc5d41f6052a99710f3d423b4228b16ef60 /redo/textfield_darwin.go
parent83f423a43ef87c34e09470f36eefc17ac57033d6 (diff)
Switched from NSPopover for the TextField.Invalid() warning on Mac OS X to a custom window subclass.
Diffstat (limited to 'redo/textfield_darwin.go')
-rw-r--r--redo/textfield_darwin.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/textfield_darwin.go b/redo/textfield_darwin.go
index 89711d4..8539f8b 100644
--- a/redo/textfield_darwin.go
+++ b/redo/textfield_darwin.go
@@ -48,7 +48,6 @@ func (t *textfield) OnChanged(f func()) {
func (t *textfield) Invalid(reason string) {
// TODO disable animations if reason is still valid
- // TODO don't steal focus
if t.invalid != nil {
C.textfieldCloseInvalidPopover(t.invalid)
t.invalid = nil