send int to BasicCombobox
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
e0fba129e0
commit
998afefb3c
8
draw.go
8
draw.go
|
@ -117,11 +117,11 @@ func (rs *RepoStatus) setCombobox() {
|
|||
}
|
||||
|
||||
func addCombobox(cb *gadgets.BasicCombobox, i int) {
|
||||
s := strconv.Itoa(i)
|
||||
cb.Add(s)
|
||||
// s := strconv.Itoa(i)
|
||||
cb.Add(i)
|
||||
}
|
||||
|
||||
func setCombobox(cb *gadgets.BasicCombobox, i int) {
|
||||
s := strconv.Itoa(i)
|
||||
cb.Sdd(s)
|
||||
// s := strconv.Itoa(i)
|
||||
cb.Set(i)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue