From bedb9979a9b65dad9d72dcbdb3174508d3714f36 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 23 May 2018 00:44:08 +0300 Subject: Update some dependencies --- vendor/maunium.net/go/tview/dropdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/maunium.net/go/tview/dropdown.go') 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 } -- cgit v1.2.3