summaryrefslogtreecommitdiffstats
path: root/pkg/gui/remotes_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-19 09:05:43 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit2fdadd383a2609921abd4aeb99e67bd5f1bbc0fc (patch)
treef52567d882bcf505ef05bfe9efed51eee28157ac /pkg/gui/remotes_panel.go
parent9a2dc3fe150a03ccb4f086b05d8a8249c9e6c37f (diff)
introduce new approach to handling tab states
Diffstat (limited to 'pkg/gui/remotes_panel.go')
-rw-r--r--pkg/gui/remotes_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/remotes_panel.go b/pkg/gui/remotes_panel.go
index 68f868a1b..24058ea84 100644
--- a/pkg/gui/remotes_panel.go
+++ b/pkg/gui/remotes_panel.go
@@ -110,7 +110,7 @@ func (gui *Gui) handleRemoteEnter() error {
}
gui.State.Panels.RemoteBranches.SelectedLine = newSelectedLine
- return gui.switchBranchesPanelContext("remote-branches")
+ return gui.switchContext(gui.Contexts.Remotes.Branches.Context)
}
func (gui *Gui) handleAddRemote(g *gocui.Gui, v *gocui.View) error {