1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

centralise some list view code

This commit is contained in:
Jesse Duffield
2020-08-16 09:18:57 +10:00
parent b211a14a66
commit cec4cb48cb
8 changed files with 190 additions and 182 deletions

View File

@ -248,8 +248,3 @@ func (gui *Gui) enterCommitFile(selectedLineIdx int) error {
return enterTheFile(selectedLineIdx)
}
func (gui *Gui) onCommitFilesPanelSearchSelect(selectedLine int) error {
gui.State.Panels.CommitFiles.SelectedLine = selectedLine
return gui.handleCommitFileSelect()
}