summaryrefslogtreecommitdiff
path: root/combobox.go
diff options
context:
space:
mode:
Diffstat (limited to 'combobox.go')
-rw-r--r--combobox.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/combobox.go b/combobox.go
index ec90dc6..0afc79e 100644
--- a/combobox.go
+++ b/combobox.go
@@ -145,6 +145,8 @@ func (c *Combobox) make(window *sysData) (err error) {
for _, s := range c.initItems {
c.sysData.append(s)
}
+ // some platforms automatically select an item; undo that
+ c.sysData.selectIndex(-1)
c.created = true
return nil
}