summary refs log tree commit diff stats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 345f3ea..87009cd 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -301,7 +301,7 @@ func (aerc *Aerc) SelectTab(name string) bool {
 }
 
 func (aerc *Aerc) SelectTabIndex(index int) bool {
-	for i, _ := range aerc.tabs.Tabs {
+	for i := range aerc.tabs.Tabs {
 		if i == index {
 			aerc.tabs.Select(i)
 			return true