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