diff options
Diffstat (limited to 'pkg/gui/recent_repos_panel.go')
-rw-r--r-- | pkg/gui/recent_repos_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/recent_repos_panel.go b/pkg/gui/recent_repos_panel.go index 3f92431ea..a9ea5d481 100644 --- a/pkg/gui/recent_repos_panel.go +++ b/pkg/gui/recent_repos_panel.go @@ -44,7 +44,7 @@ func (gui *Gui) handleCreateRecentReposMenu(g *gocui.Gui, v *gocui.View) error { return gui.Errors.ErrSwitchRepo } - return gui.createMenu(gui.Tr.SLocalize("RecentRepos"), recentRepos, handleMenuPress) + return gui.createMenu(gui.Tr.SLocalize("RecentRepos"), recentRepos, len(recentRepos), handleMenuPress) } // updateRecentRepoList registers the fact that we opened lazygit in this repo, |