diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-12 22:05:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-12 22:05:34 -0400 |
| commit | d4c79539af8b33f41c070773c6bc5e5cbf867543 (patch) | |
| tree | 43a7eb1de1892a58774752bc56cd10b63050b405 /listbox.go | |
| parent | 274fa0c2928e3d1573a83d2f68048963df5e16e4 (diff) | |
Fixed Listboxes on Mac OS X having an initial selection.
Diffstat (limited to 'listbox.go')
| -rw-r--r-- | listbox.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -148,6 +148,8 @@ func (l *Listbox) make(window *sysData) (err error) { for _, s := range l.initItems { l.sysData.append(s) } + // some platforms automatically select an item; undo that + l.sysData.selectIndices(nil) l.created = true return nil } |
