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

remove previous view

This commit is contained in:
Jesse Duffield
2020-08-16 17:29:06 +10:00
parent 6fb83b740b
commit c9ae54a8c8
2 changed files with 2 additions and 4 deletions

View File

@ -217,7 +217,6 @@ type guiState struct {
RemoteBranches []*commands.RemoteBranch
Tags []*commands.Tag
MenuItemCount int // can't store the actual list because it's of interface{} type
PreviousView string
Updating bool
Panels *panelStates
MainContext string // used to keep the main and secondary views' contexts in sync
@ -260,7 +259,6 @@ func (gui *Gui) resetState() {
gui.State = &guiState{
Files: make([]*commands.File, 0),
PreviousView: "files",
Commits: make([]*commands.Commit, 0),
FilteredReflogCommits: make([]*commands.Commit, 0),
ReflogCommits: make([]*commands.Commit, 0),