1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

remove dead code

This commit is contained in:
Jesse Duffield
2022-03-26 14:33:39 +11:00
parent fe87114074
commit 102c33433b
3 changed files with 24 additions and 26 deletions

View File

@ -94,7 +94,7 @@ func (gui *Gui) secondaryViewFocused() bool {
}
func (gui *Gui) onViewTabClick(viewName string, tabIndex int) error {
context := gui.State.ViewTabContextMap[viewName][tabIndex].Contexts[0]
context := gui.State.ViewTabContextMap[viewName][tabIndex].Context
return gui.c.PushContext(context)
}