mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-17 21:18:31 +02:00
fix bug where we had two sets of contexts with their own state
This commit is contained in:
parent
4e5b94ec0f
commit
83a0fb65f6
@ -530,19 +530,20 @@ func (gui *Gui) suggestionsListContext() *ListContext {
|
|||||||
|
|
||||||
func (gui *Gui) getListContexts() []*ListContext {
|
func (gui *Gui) getListContexts() []*ListContext {
|
||||||
return []*ListContext{
|
return []*ListContext{
|
||||||
gui.menuListContext(),
|
gui.Contexts.Menu.Context.(*ListContext),
|
||||||
gui.filesListContext(),
|
gui.Contexts.Files.Context.(*ListContext),
|
||||||
gui.branchesListContext(),
|
gui.Contexts.Branches.Context.(*ListContext),
|
||||||
gui.remotesListContext(),
|
gui.Contexts.Remotes.Context.(*ListContext),
|
||||||
gui.remoteBranchesListContext(),
|
gui.Contexts.Remotes.Branches.Context.(*ListContext),
|
||||||
gui.tagsListContext(),
|
gui.Contexts.Tags.Context.(*ListContext),
|
||||||
gui.branchCommitsListContext(),
|
gui.Contexts.BranchCommits.Context.(*ListContext),
|
||||||
gui.reflogCommitsListContext(),
|
gui.Contexts.BranchCommits.Context.(*ListContext),
|
||||||
gui.subCommitsListContext(),
|
gui.Contexts.ReflogCommits.Context.(*ListContext),
|
||||||
gui.stashListContext(),
|
gui.Contexts.SubCommits.Context.(*ListContext),
|
||||||
gui.commitFilesListContext(),
|
gui.Contexts.Stash.Context.(*ListContext),
|
||||||
gui.submodulesListContext(),
|
gui.Contexts.CommitFiles.Context.(*ListContext),
|
||||||
gui.suggestionsListContext(),
|
gui.Contexts.Submodules.Context.(*ListContext),
|
||||||
|
gui.Contexts.Suggestions.Context.(*ListContext),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user