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) {
|
func addCombobox(cb *gadgets.BasicCombobox, i int) {
|
||||||
s := strconv.Itoa(i)
|
// s := strconv.Itoa(i)
|
||||||
cb.Add(s)
|
cb.Add(i)
|
||||||
}
|
}
|
||||||
|
|
||||||
func setCombobox(cb *gadgets.BasicCombobox, i int) {
|
func setCombobox(cb *gadgets.BasicCombobox, i int) {
|
||||||
s := strconv.Itoa(i)
|
// s := strconv.Itoa(i)
|
||||||
cb.Sdd(s)
|
cb.Set(i)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue