1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

appease linter

This commit is contained in:
Jesse Duffield
2022-02-13 10:48:41 +11:00
parent 3188526ecb
commit 41527270ed
6 changed files with 19 additions and 105 deletions

View File

@@ -212,18 +212,6 @@ type Controllers struct {
Global *controllers.GlobalController
}
type listPanelState struct {
SelectedLineIdx int
}
func (h *listPanelState) SetSelectedLineIdx(value int) {
h.SelectedLineIdx = value
}
func (h *listPanelState) GetSelectedLineIdx() int {
return h.SelectedLineIdx
}
// for now the staging panel state, unlike the other panel states, is going to be
// non-mutative, so that we don't accidentally end up
// with mismatches of data. We might change this in the future