summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-10 00:19:01 -0600
committerJeff Carr <[email protected]>2024-01-10 00:19:01 -0600
commit998afefb3c854c6c667be5e65753bc8b5fd6c23b (patch)
tree8717d6e35fcdb7f95f607c57154f86ef63ee09e2
parente0fba129e01e138ecf106733012ed4e24f36a904 (diff)
send int to BasicCombobox
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--draw.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw.go b/draw.go
index 36bfc41..067db72 100644
--- a/draw.go
+++ b/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)
}