From 66359b67bfa39415a6a48d31f6172710863e0b0f Mon Sep 17 00:00:00 2001 From: Wendell Sun Date: Thu, 30 Nov 2017 20:28:13 +0800 Subject: [PATCH] Bug fix #28 - select with add panics (#29) --- select.go | 1 + 1 file changed, 1 insertion(+) diff --git a/select.go b/select.go index 99db140..ac6913e 100644 --- a/select.go +++ b/select.go @@ -412,6 +412,7 @@ func (sa *SelectWithAdd) Run() (int, string, error) { Size: 5, list: list, } + s.setKeys() err = s.prepareTemplates() if err != nil {