summaryrefslogtreecommitdiff
path: root/combobox.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-29 04:41:07 -0400
committerPietro Gagliardi <[email protected]>2014-05-29 04:41:07 -0400
commit4045d50f946431408896a7b1512397c905e4bdb5 (patch)
tree06598618cccc9b0b680016b41c6648f19db32f4c /combobox.go
parent4baa9397e6546e78e07b24bb8bbab785417e0378 (diff)
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
Diffstat (limited to 'combobox.go')
-rw-r--r--combobox.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/combobox.go b/combobox.go
index 5060a45..86e38e9 100644
--- a/combobox.go
+++ b/combobox.go
@@ -143,8 +143,6 @@ 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
}