send int to BasicCombobox

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-10 00:19:01 -06:00
parent e0fba129e0
commit 998afefb3c
1 changed files with 4 additions and 4 deletions

View File

@ -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)
}