diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-23 00:44:08 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-23 00:44:08 +0300 |
commit | bedb9979a9b65dad9d72dcbdb3174508d3714f36 (patch) | |
tree | bc5adfadfac2f58fbfe198aec9d93d96cd84656f /vendor/maunium.net/go/tview/dropdown.go | |
parent | 14903e0cdcd3ba78face2cbe0ad0287da269a1ea (diff) |
Update some dependencies
Diffstat (limited to 'vendor/maunium.net/go/tview/dropdown.go')
-rw-r--r-- | vendor/maunium.net/go/tview/dropdown.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/maunium.net/go/tview/dropdown.go b/vendor/maunium.net/go/tview/dropdown.go index 515f978..4e4d888 100644 --- a/vendor/maunium.net/go/tview/dropdown.go +++ b/vendor/maunium.net/go/tview/dropdown.go @@ -190,7 +190,7 @@ func (d *DropDown) GetFieldWidth() int { // callback is called when this option was selected. It may be nil. func (d *DropDown) AddOption(text string, selected func()) *DropDown { d.options = append(d.options, &dropDownOption{Text: text, Selected: selected}) - d.list.AddItem(text, "", 0, selected) + d.list.AddItem(text, "", 0, nil) return d } |