From e5345426bc34613ee73ad9177eb298264181629f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Mon, 15 Jul 2024 17:55:51 -0700 Subject: [PATCH] I dunno why I did that --- internal/tables/tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tables/tables.go b/internal/tables/tables.go index 2f8f96c..496e520 100644 --- a/internal/tables/tables.go +++ b/internal/tables/tables.go @@ -426,7 +426,7 @@ func (m *model) selectAll() { } m.selected = map[string]bool{} - for i := range len(m.table.Rows()) { + for i := range m.table.Rows() { m.selected[m.files[i].String()] = true } m.updateRows(true)