summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-16 17:29:06 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commitc9ae54a8c8669483f8fbbb99ce4b139e204daa39 (patch)
tree0a016cb4c5123779b858ec253f2515221ad81069 /pkg/gui/gui.go
parent6fb83b740b9b3030d6b6e6ed09f895a7c6a4839d (diff)
remove previous view
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 0ddf4b2ce..9857beac6 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -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),